017ff94d15df85ea8476f8ad3ce234470072ae84,python/tvm/relay/op/nn/_nn.py,,,#,934

Before Change


    ]


reg.register_shape_func("nn.conv1d", False, conv_shape_func)
reg.register_shape_func("nn.conv2d", False, conv_shape_func)
reg.register_shape_func("nn.conv3d", False, conv_shape_func)


@script

After Change


    return [topi.nn.space_to_depth(inputs[0], block_size, layout=layout)]


reg.register_injective_schedule("nn.space_to_depth")
reg.register_pattern("nn.space_to_depth", OpPattern.INJECTIVE)


// correlation
reg.register_strategy("nn.correlation", strategy.correlation_strategy)
reg.register_pattern("nn.correlation", OpPattern.OUT_ELEMWISE_FUSABLE)


// space_to_batch_nd and batch_to_space_nd
reg.register_injective_schedule("nn.space_to_batch_nd")
reg.register_injective_schedule("nn.batch_to_space_nd")


//////////////////////////////////////////
//  Shape functions  //
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


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: 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: 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: 017ff94d15df85ea8476f8ad3ce234470072ae84
Time: 2021-03-11
Author: anshuman.t@huawei.com
File Name: python/tvm/relay/op/nn/_nn.py
Class Name:
Method Name: