f6c5fda0653e8c00b2dbe85cecb1280eeaa2feaa,nnef_tools/io/nnef/nnef_io.py,,read,#Any#Any#,51
Before Change
def read(path, parser_configs=None):
// type: (str, typing.Optional[typing.List[NNEFParserConfig]])->NNEFGraph
assert path.endswith(".tgz") or path.endswith(".nnef") or os.path.isdir(path), \
"Only .tgz or .nnef files or directories are supported"
parser_config = NNEFParserConfig.combine_configs(parser_configs if parser_configs else [])
path_to_load = None
After Change
def read(path, parser_configs=None):
// type: (str, typing.Optional[typing.List[NNEFParserConfig]])->NNEFGraph
if not (path.endswith(".tgz") or path.endswith(".nnef") or path.endswith(".txt") or os.path.isdir(path)):
raise utils.NNEFToolsException("Only .tgz or .nnef or .txt files or directories are supported")
parser_config = NNEFParserConfig.combine_configs(parser_configs if parser_configs else [])
path_to_load = None
compressed = False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: KhronosGroup/NNEF-Tools
Commit Name: f6c5fda0653e8c00b2dbe85cecb1280eeaa2feaa
Time: 2019-05-23
Author: tamas.danyluk@aimotive.com
File Name: nnef_tools/io/nnef/nnef_io.py
Class Name:
Method Name: read
Project Name: KhronosGroup/NNEF-Tools
Commit Name: b6b2efd17e1c2c506622cc4fc181f5cc0d205cf4
Time: 2019-06-05
Author: tamas.danyluk2@gmail.com
File Name: nnef_tools/io/nnef/nnef_io.py
Class Name:
Method Name: _write_weights
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 0c6c8a13119f5de5682436e05cf0db63978109be
Time: 2019-07-11
Author: tamas.danyluk2@gmail.com
File Name: nnef_tools/conversion/tensorflow/tf_pb_to_tf_py.py
Class Name:
Method Name: evaluate_and_convert