68b7e7147fff8960754e4a3a788fd2474749d121,python/tvm/relay/op/nn/_nn.py,,,#,263

Before Change




// conv2d_transpose
reg.register_strategy("nn.conv2d_transpose", strategy.conv2d_transpose_strategy)
reg.register_pattern("nn.conv2d_transpose", OpPattern.OUT_ELEMWISE_FUSABLE)


@reg.register_legalize("nn.conv2d_transpose")

After Change


    return topi.nn.sparse_transpose(inputs[0], inputs[1], inputs[2])


reg.register_schedule("nn.sparse_transpose", strategy.schedule_sparse_transpose)
reg.register_pattern("nn.sparse_transpose", reg.OpPattern.OUT_ELEMWISE_FUSABLE)


// conv1d
reg.register_strategy("nn.conv1d", strategy.conv1d_strategy)
reg.register_pattern("nn.conv1d", OpPattern.OUT_ELEMWISE_FUSABLE)


// conv2d
reg.register_strategy("nn.conv2d", strategy.conv2d_strategy)
reg.register_pattern("nn.conv2d", OpPattern.OUT_ELEMWISE_FUSABLE)


@reg.register_alter_op_layout("nn.conv2d")
def alter_op_layout_conv2d(attrs, inputs, tinfos, out_type):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


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