712663ed27506af865aa0498c569d8398d18b7fd,python/tvm/tir/ir_builder.py,BufferVar,__getitem__,#BufferVar#Any#,101
Before Change
index = self._linear_index(index)
if t.lanes > 1:
base = index * t.lanes
index = _expr.Ramp(base, const(1, base.dtype), t.lanes)
return _expr.Load(self._content_type, self._buffer_var, index)
def __setitem__(self, index, value):
After Change
index = self._linear_index(index)
if t.lanes > 1:
base = index * t.lanes
stride = 1 if (not hasattr(base, "dtype")) else const(1, base.dtype)
index = _expr.Ramp(base, stride, t.lanes)
return _expr.Load(self._content_type, self._buffer_var, index)
def __setitem__(self, index, value):
value = convert(value)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: apache/incubator-tvm
Commit Name: 712663ed27506af865aa0498c569d8398d18b7fd
Time: 2020-11-19
Author: giuseppe.rossini@arm.com
File Name: python/tvm/tir/ir_builder.py
Class Name: BufferVar
Method Name: __getitem__
Project Name: apache/incubator-tvm
Commit Name: 712663ed27506af865aa0498c569d8398d18b7fd
Time: 2020-11-19
Author: giuseppe.rossini@arm.com
File Name: python/tvm/tir/ir_builder.py
Class Name: BufferVar
Method Name: __setitem__
Project Name: apache/incubator-tvm
Commit Name: 78d79923756ea9ed4545d2faef7d514a300d3452
Time: 2020-06-28
Author: ywu118@alumni.jh.edu
File Name: topi/python/topi/vision/nms.py
Class Name:
Method Name: non_max_suppression
Project Name: apache/incubator-tvm
Commit Name: 054466be14ea64b0bfe75081b311cabe0d40a991
Time: 2020-12-14
Author: mbrookhart@octoml.ai
File Name: python/tvm/topi/vision/nms.py
Class Name:
Method Name: non_max_suppression
Project Name: apache/incubator-tvm
Commit Name: 37b84cc34bb12895b75daf0c989ca3a34fcb661c
Time: 2020-05-26
Author: mbrookhart@octoml.ai
File Name: tests/python/relay/test_dataflow_pattern.py
Class Name:
Method Name: test_partition_double_batchnorm