639358e8da602a6f43c7f08afd951fc4368ab421,python/tvm/relay/op/nn/_nn.py,,,#,700

Before Change


        pad_width.append(get_const_tuple(pair))
    return [_pad_shape_func(inputs[0], convert(pad_width))]

reg.register_shape_func("nn.bias_add", False, elemwise_shape_func)
reg.register_shape_func("nn.softmax", False, elemwise_shape_func)
reg.register_shape_func("nn.relu", False, elemwise_shape_func)

After Change


            width_axis = i
    return [_global_pool2d_shape_func(inputs[0], convert(height_axis), convert(width_axis))]

reg.register_shape_func("nn.global_max_pool2d", False, global_pool2d_shape_func)
reg.register_shape_func("nn.global_avg_pool2d", False, global_pool2d_shape_func)

@script
def _batch_flatten_shape_func(data_shape):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: apache/incubator-tvm
Commit Name: 639358e8da602a6f43c7f08afd951fc4368ab421
Time: 2020-04-27
Author: notoraptor@users.noreply.github.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 6d0351a7f0e23eb5428c59a976edd2bfb8207c0d
Time: 2020-10-09
Author: tristan.konolige@gmail.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: fe761964029b1094b00925fe577bc8bf5f9f2d66
Time: 2020-07-23
Author: siyuanli.s.c@gmail.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 3734d5f7f8475a2a7897f239b9942c913256fc96
Time: 2021-01-29
Author: liuxin.ai@bytedance.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 02eb18332a4f9b9491da0d4e8ed01c49fec2ac5e
Time: 2020-04-05
Author: jwfromm@uw.edu
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 2658ebe737d38b441dee6121c01ba3f9f83ce518
Time: 2020-10-02
Author: mbrookhart@octoml.ai
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: e2fb5039a2472403f2f6dfd65ac6b94de6758271
Time: 2020-06-11
Author: siju.samuel@huawei.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 68b7e7147fff8960754e4a3a788fd2474749d121
Time: 2021-02-09
Author: kevinthesunwy@gmail.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 639358e8da602a6f43c7f08afd951fc4368ab421
Time: 2020-04-27
Author: notoraptor@users.noreply.github.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: 017ff94d15df85ea8476f8ad3ce234470072ae84
Time: 2021-03-11
Author: anshuman.t@huawei.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name:


Project Name: apache/incubator-tvm
Commit Name: b94e8b7290c5ced98728e730634ec73727c53c51
Time: 2020-06-22
Author: giuseppe.rossini@arm.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name: