edb9f18233560df5f5de33364d3df1225f85e713,nnef_tools/io/onnx/reader.py,Reader,__call__,#Reader#,318
Before Change
self._simplify = simplify
def __call__(self, filename, input_shapes=None):
return read_protobuf(filename, input_shapes, self._simplify)
After Change
self._simplify = simplify
def __call__(self, filename, input_shapes=None):
model_proto = onnx.load_model(filename)
_add_value_info_for_constants(model_proto)
if self._simplify:
from onnxsim import simplify
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: KhronosGroup/NNEF-Tools
Commit Name: edb9f18233560df5f5de33364d3df1225f85e713
Time: 2021-01-13
Author: viktor.gyenes@aimotive.com
File Name: nnef_tools/io/onnx/reader.py
Class Name: Reader
Method Name: __call__
Project Name: ellisdg/3DUnetCNN
Commit Name: 17e0377eec348971c87f5e30d132f092ffdeef0b
Time: 2017-05-19
Author: david.ellis@unmc.edu
File Name: unet3d/training.py
Class Name:
Method Name: load_old_model
Project Name: kundajelab/dragonn
Commit Name: 29dd9521b0db3c3cd9937e121095fda6f4d7a69b
Time: 2019-05-02
Author: annashcherbina@gmail.com
File Name: dragonn/interpret/__init__.py
Class Name:
Method Name: multi_method_interpret