1224d56ca95825b4244d337df4cd04546108c9cd,tests/python/relay/test_any.py,,test_any_reshape_like,#,385
Before Change
mod["main"] = relay.Function([data, shape_like], y)
data_np = np.random.uniform(size=(3, 3, 10)).astype(dtype)
shape_like_np = np.random.uniform(size=(3, 5, 6)).astype(dtype)
for kind in ["debug", "vm"]:
ex = relay.create_executor(kind, mod=mod, ctx=tvm.cpu(), target="llvm")
result = ex.evaluate()(data_np, shape_like_np)
assert result.asnumpy().shape == shape_like_np.shape, \
"Shape mismatch: expect %s but got %s." % (str(shape_like_np.shape), str(result.asnumpy().shape))
def verify_any_conv2d_NCHWc(data_shape, kernel_shape, strides, padding, dilation,
data_layout, kernel_layout, out_layout,
static_data_shape, ref_out_shape):
mod = tvm.IRModule()
After Change
mod["main"] = relay.Function([data, shape_like], y)
data_np = np.random.uniform(size=(3, 3, 10)).astype(dtype)
shape_like_np = np.random.uniform(size=(3, 5, 6)).astype(dtype)
check_result([data_np, shape_like_np], mod, shape_like_np.shape, assert_shape=True)
def verify_any_conv2d_NCHWc(data_shape, kernel_shape, strides, padding, dilation,
data_layout, kernel_layout, out_layout,
static_data_shape, ref_out_shape):
In pattern: SUPERPATTERN
Frequency: 13
Non-data size: 11
Instances
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: test_any_reshape_like
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_softmax
Project Name: apache/incubator-tvm
Commit Name: 54cd235d7d0c01c05d29f4f26fd8788a50b84877
Time: 2020-12-04
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_argwhere
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_layout_transform
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_crop_and_resize
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_mirror_pad
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: test_any_reshape_like
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_expand_dims
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_conv2d_NCHWc
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_global_pool2d
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: test_any_batch_flatten
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_dense
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_pool2d
Project Name: apache/incubator-tvm
Commit Name: 1224d56ca95825b4244d337df4cd04546108c9cd
Time: 2020-09-03
Author: 5145158+zhiics@users.noreply.github.com
File Name: tests/python/relay/test_any.py
Class Name:
Method Name: verify_any_reduce