9554e645922357af1d11679a102f3763b80b740f,python/tvm/relay/frontend/tflite.py,OperatorConverter,get_tensor_value,#OperatorConverter#Any#,340
Before Change
data = tensor_wrapper.buffer.DataAsNumpy()
if tensor_wrapper.tensor.ShapeLength() != 0:
shape = tensor_wrapper.tensor.ShapeAsNumpy()
else:
shape = []
return np.frombuffer(data, dtype=dtype).reshape(shape)
After Change
data = tensor_wrapper.buffer.DataAsNumpy()
if tensor_wrapper.tensor.ShapeLength() != 0:
shape = to_int_list(tensor_wrapper.tensor.ShapeAsNumpy())
else:
shape = []
return np.frombuffer(data, dtype=dtype).reshape(shape)
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 3
Instances
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: get_tensor_value
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_pool2d
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_conv
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_transpose_conv
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_matrix_diag
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_slice
Project Name: apache/incubator-tvm
Commit Name: 9554e645922357af1d11679a102f3763b80b740f
Time: 2020-12-04
Author: lianminzheng@gmail.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_fully_connected