6ae439c8c58dd0118d2f2c5d1c4bcb650df47104,python/tvm/te/tensor.py,Tensor,__call__,#Tensor#,58
Before Change
else:
raise ValueError("The indices must be expression")
return _expr.Call(self.dtype, self.op.name,
args, _expr.Call.Halide,
self.op, self.value_index)
def __getitem__(self, indices):
return TensorSlice(self, indices)
After Change
else:
raise ValueError("The indices must be expression")
return _expr.ProducerLoad(self, args)
def __getitem__(self, indices):
return TensorSlice(self, indices)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: apache/incubator-tvm
Commit Name: 6ae439c8c58dd0118d2f2c5d1c4bcb650df47104
Time: 2020-06-07
Author: tqchen@users.noreply.github.com
File Name: python/tvm/te/tensor.py
Class Name: Tensor
Method Name: __call__
Project Name: apache/incubator-tvm
Commit Name: 6ae439c8c58dd0118d2f2c5d1c4bcb650df47104
Time: 2020-06-07
Author: tqchen@users.noreply.github.com
File Name: python/tvm/te/hybrid/parser.py
Class Name: HybridParser
Method Name: visit_Subscript
Project Name: apache/incubator-tvm
Commit Name: 82d157f0b83ae17fde7bbfca14110aa2f2b80b61
Time: 2020-06-22
Author: tqchen@users.noreply.github.com
File Name: python/tvm/tir/expr.py
Class Name: ExprOp
Method Name: __invert__