2aec65caac60fdc5ae6731b5142e231fc0614ed5,converter/nnef_converters/caffe_converters/nnef_to_caffe/nnef_to_caffe.py,,convert,#Any#Any#Any#,144
Before Change
nnef_dir_path = tmp_dir_name
export_variables = _has_dat_file(nnef_dir_path)
if verbose and not export_variables:
print("No weights were present in {}".format(nnef_path))
elif nnef_path.endswith(".nnef"):
nnef_dir_path = utils.without_file_name(nnef_path)
export_variables = False
if verbose:
After Change
if verbose:
print("Converting...")
if os.path.isfile(nnef_path):
assert nnef_path.endswith(".tgz") or nnef_path.endswith(".nnef"), \
"Please specify a .nnef or a .tgz file or a directory"
if os .path.isdir(nnef_path):
nnef_dir_path = utils.without_slash(nnef_path)
export_variables = True
elif nnef_path.endswith(".tgz"):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: KhronosGroup/NNEF-Tools
Commit Name: 2aec65caac60fdc5ae6731b5142e231fc0614ed5
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: converter/nnef_converters/caffe_converters/nnef_to_caffe/nnef_to_caffe.py
Class Name:
Method Name: convert
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 2aec65caac60fdc5ae6731b5142e231fc0614ed5
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: converter/nnef_converters/caffe_converters/nnef_to_caffe/nnef_to_caffe.py
Class Name:
Method Name: convert
Project Name: scikit-image/scikit-image
Commit Name: b90d0b505ac9ae8f51b85058635c063b896566f6
Time: 2016-04-06
Author: orion@cora.nwra.com
File Name: skimage/_build.py
Class Name:
Method Name: cython
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 2aec65caac60fdc5ae6731b5142e231fc0614ed5
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: converter/nnef_converters/tf_converters/nnef_to_tf/nnef_to_tf.py
Class Name:
Method Name: convert