import sys
_module = sys.modules[__name__]
del sys
conf = _module
onnx_sphinx = _module
onnx = _module
backend = _module
base = _module
sample = _module
ops = _module
abs = _module
test = _module
case = _module
model = _module
expand = _module
gradient = _module
sequence = _module
shrink = _module
sign = _module
stringnormalizer = _module
node = _module
acos = _module
acosh = _module
adagrad = _module
adam = _module
add = _module
and = _module
argmax = _module
argmin = _module
asin = _module
asinh = _module
atan = _module
atanh = _module
averagepool = _module
batchnorm = _module
bernoulli = _module
bitshift = _module
bitwiseand = _module
bitwisenot = _module
bitwiseor = _module
bitwisexor = _module
blackmanwindow = _module
cast = _module
castlike = _module
ceil = _module
celu = _module
center_crop_pad = _module
clip = _module
col2im = _module
compress = _module
concat = _module
constant = _module
constantofshape = _module
conv = _module
convinteger = _module
convtranspose = _module
cos = _module
cosh = _module
cumsum = _module
depthtospace = _module
dequantizelinear = _module
det = _module
dft = _module
div = _module
dropout = _module
dynamicquantizelinear = _module
einsum = _module
elu = _module
equal = _module
erf = _module
exp = _module
eyelike = _module
flatten = _module
floor = _module
gather = _module
gatherelements = _module
gathernd = _module
gemm = _module
globalaveragepool = _module
globalmaxpool = _module
greater = _module
greater_equal = _module
gridsample = _module
groupnormalization = _module
gru = _module
hammingwindow = _module
hannwindow = _module
hardmax = _module
hardsigmoid = _module
hardswish = _module
identity = _module
instancenorm = _module
isinf = _module
isnan = _module
layernormalization = _module
leakyrelu = _module
less = _module
less_equal = _module
log = _module
logsoftmax = _module
loop = _module
lrn = _module
lstm = _module
matmul = _module
matmulinteger = _module
max = _module
maxpool = _module
maxunpool = _module
mean = _module
meanvariancenormalization = _module
melweightmatrix = _module
min = _module
mish = _module
mod = _module
momentum = _module
mul = _module
neg = _module
negativeloglikelihoodloss = _module
nonmaxsuppression = _module
nonzero = _module
not = _module
onehot = _module
optionalgetelement = _module
optionalhaselement = _module
or = _module
pad = _module
pool_op_common = _module
pow = _module
prelu = _module
qlinearconv = _module
qlinearmatmul = _module
quantizelinear = _module
rangeop = _module
reciprocal = _module
reduce_log_sum = _module
reduce_log_sum_exp = _module
reducel1 = _module
reducel2 = _module
reducemax = _module
reducemean = _module
reducemin = _module
reduceprod = _module
reducesum = _module
reducesumsquare = _module
relu = _module
reshape = _module
resize = _module
reversesequence = _module
rnn = _module
roialign = _module
round = _module
scan = _module
scatter = _module
scatterelements = _module
scatternd = _module
selu = _module
sequence_map = _module
sequenceinsert = _module
shape = _module
sigmoid = _module
sin = _module
sinh = _module
size = _module
slice = _module
softmax = _module
softmaxcrossentropy = _module
softplus = _module
softsign = _module
spacetodepth = _module
split = _module
sqrt = _module
squeeze = _module
stft = _module
sub = _module
sum = _module
tan = _module
tanh = _module
tfidfvectorizer = _module
thresholdedrelu = _module
tile = _module
topk = _module
transpose = _module
trilu = _module
unique = _module
unsqueeze = _module
upsample = _module
where = _module
xor = _module
test_case = _module
utils = _module
cmd_tools = _module
loader = _module
report = _module
coverage = _module
runner = _module
item = _module
stat_coverage = _module
bin = _module
checker = _module
compose = _module
defs = _module
gen_doc = _module
gen_shape_inference_information = _module
external_data_helper = _module
frontend = _module
gen_proto = _module
helper = _module
hub = _module
mapping = _module
numpy_helper = _module
parser = _module
printer = _module
reference = _module
op_run = _module
_op = _module
_op_common_indices = _module
_op_common_pool = _module
_op_common_random = _module
_op_common_window = _module
_op_list = _module
aionnx_preview_training = _module
_op_run_training = _module
op_adagrad = _module
op_adam = _module
op_momentum = _module
experimental = _module
_op_run_experimental = _module
op_im2col = _module
op_abs = _module
op_acos = _module
op_acosh = _module
op_add = _module
op_and = _module
op_argmax = _module
op_argmin = _module
op_asin = _module
op_asinh = _module
op_atan = _module
op_atanh = _module
op_attribute_has_value = _module
op_average_pool = _module
op_batch_normalization = _module
op_bernoulli = _module
op_bitshift = _module
op_bitwise_and = _module
op_bitwise_not = _module
op_bitwise_or = _module
op_bitwise_xor = _module
op_blackman_window = _module
op_cast = _module
op_cast_like = _module
op_ceil = _module
op_celu = _module
op_center_crop_pad = _module
op_clip = _module
op_col2im = _module
op_compress = _module
op_concat = _module
op_concat_from_sequence = _module
op_constant = _module
op_constant_of_shape = _module
op_conv = _module
op_conv_integer = _module
op_conv_transpose = _module
op_cos = _module
op_cosh = _module
op_cum_sum = _module
op_depth_to_space = _module
op_dequantize_linear = _module
op_det = _module
op_dft = _module
op_div = _module
op_dropout = _module
op_dynamic_quantize_linear = _module
op_einsum = _module
op_elu = _module
op_equal = _module
op_erf = _module
op_exp = _module
op_expand = _module
op_eyelike = _module
op_flatten = _module
op_floor = _module
op_gather = _module
op_gather_elements = _module
op_gathernd = _module
op_gemm = _module
op_global_average_pool = _module
op_global_max_pool = _module
op_greater = _module
op_greater_or_equal = _module
op_grid_sample = _module
op_gru = _module
op_hamming_window = _module
op_hann_window = _module
op_hard_sigmoid = _module
op_hardmax = _module
op_identity = _module
op_if = _module
op_instance_normalization = _module
op_isinf = _module
op_isnan = _module
op_layer_normalization = _module
op_leaky_relu = _module
op_less = _module
op_less_or_equal = _module
op_log = _module
op_log_softmax = _module
op_loop = _module
op_lp_normalization = _module
op_lrn = _module
op_lstm = _module
op_matmul = _module
op_matmul_integer = _module
op_max = _module
op_max_pool = _module
op_max_unpool = _module
op_mean = _module
op_mel_weight_matrix = _module
op_min = _module
op_mod = _module
op_mul = _module
op_neg = _module
op_negative_log_likelihood_loss = _module
op_non_max_suppression = _module
op_non_zero = _module
op_not = _module
op_one_hot = _module
op_optional = _module
op_optional_get_element = _module
op_optional_has_element = _module
op_or = _module
op_pad = _module
op_pow = _module
op_prelu = _module
op_qlinear_conv = _module
op_qlinear_matmul = _module
op_quantize_linear = _module
op_random_normal = _module
op_random_normal_like = _module
op_random_uniform = _module
op_random_uniform_like = _module
op_range = _module
op_reciprocal = _module
op_reduce_l1 = _module
op_reduce_l2 = _module
op_reduce_log_sum = _module
op_reduce_log_sum_exp = _module
op_reduce_max = _module
op_reduce_mean = _module
op_reduce_min = _module
op_reduce_prod = _module
op_reduce_sum = _module
op_reduce_sum_square = _module
op_relu = _module
op_reshape = _module
op_resize = _module
op_reverse_sequence = _module
op_rnn = _module
op_roi_align = _module
op_round = _module
op_scan = _module
op_scatter_elements = _module
op_scatternd = _module
op_selu = _module
op_sequence_at = _module
op_sequence_construct = _module
op_sequence_empty = _module
op_sequence_erase = _module
op_sequence_insert = _module
op_sequence_length = _module
op_sequence_map = _module
op_shape = _module
op_shrink = _module
op_sigmoid = _module
op_sign = _module
op_sin = _module
op_sinh = _module
op_size = _module
op_slice = _module
op_softmax = _module
op_softmax_cross_entropy_loss = _module
op_softplus = _module
op_softsign = _module
op_space_to_depth = _module
op_split = _module
op_split_to_sequence = _module
op_sqrt = _module
op_squeeze = _module
op_stft = _module
op_string_normalizer = _module
op_sub = _module
op_sum = _module
op_tan = _module
op_tanh = _module
op_tfidf_vectorizer = _module
op_thresholded_relu = _module
op_tile = _module
op_topk = _module
op_transpose = _module
op_trilu = _module
op_unique = _module
op_unsqueeze = _module
op_upsample = _module
op_where = _module
op_xor = _module
reference_evaluator = _module
shape_inference = _module
automatic_upgrade_test = _module
basic_test = _module
checker_test = _module
compose_test = _module
data_propagation_test = _module
elu_test = _module
function_test = _module
helper_test = _module
hub_test = _module
inference_function_test = _module
numpy_helper_test = _module
parser_test = _module
printer_test = _module
reference_evaluator_backend_test = _module
reference_evaluator_test = _module
relu_test = _module
schema_test = _module
shape_inference_test = _module
symbolic_shape_test = _module
test_backend_test = _module
test_external_data = _module
test_with_ort = _module
tools_test = _module
training_tool_test = _module
utils_test = _module
version_converter_test = _module
tools = _module
net_drawer = _module
update_model_dims = _module
version_converter = _module
setup = _module
gen_coverage_report = _module
config = _module
test_model_zoo = _module

from _paritybench_helpers import _mock_config, patch_functional
from unittest.mock import mock_open, MagicMock
from torch.autograd import Function
from torch.nn import Module
import abc, collections, copy, enum, functools, inspect, itertools, logging, math, matplotlib, numbers, numpy, pandas, queue, random, re, scipy, sklearn, string, tensorflow, time, torch, torchaudio, torchtext, torchvision, types, typing, uuid, warnings
import numpy as np
from torch import Tensor
patch_functional()
open = mock_open()
yaml = logging = sys = argparse = MagicMock()
ArgumentParser = argparse.ArgumentParser
_global_config = args = argv = cfg = config = params = _mock_config()
argparse.ArgumentParser.return_value.parse_args.return_value = _global_config
yaml.load.return_value = _global_config
sys.argv = _global_config
__version__ = '1.0.0'
xrange = range
wraps = functools.wraps


import warnings


import numpy as np


from functools import wraps


from typing import Any


from typing import List


from numpy.testing import assert_allclose

