dab923c0c8ebc1f0c57a48b15de9310344a66306,python/src/nnabla/utils/cli/convert.py,,dump_command,#Any#,20
Before Change
def dump_command(args):
if "import_format" in args:
if args.import_format not in nnabla.utils.converter.formats.import_name:
print("Import format ({}) is not supported.".format(args.import_format))
return False
nnabla.utils.converter.dump_files(args, args.files)
return True
After Change
def dump_command(args):
resolve_file_format(args, args.files)
if args.import_format not in nnabla.utils.converter.formats.import_name:
print("Import format ({}) is not supported.".format(args.import_format))
return False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: sony/nnabla
Commit Name: dab923c0c8ebc1f0c57a48b15de9310344a66306
Time: 2020-12-09
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/cli/convert.py
Class Name:
Method Name: dump_command
Project Name: sony/nnabla
Commit Name: dab923c0c8ebc1f0c57a48b15de9310344a66306
Time: 2020-12-09
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/cli/convert.py
Class Name:
Method Name: convert_command
Project Name: sony/nnabla
Commit Name: dab923c0c8ebc1f0c57a48b15de9310344a66306
Time: 2020-12-09
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/cli/convert.py
Class Name:
Method Name: nnb_template_command