d2a5469bf3fe95490f19f6ccfdc9e64a21a6fba8,precise/convert.py,,,#,60

Before Change


if __name__ == "__main__":
    parser = ArgumentParser(description="Convert keyword model from Keras to TensorFlow")
    parser.add_argument("-m", "--model", default="keyword.net", help="Input Keras model")
    parser.add_argument("-o", "--out", default="keyword.pb", help="Output TensorFlow protobuf")
    args = parser.parse_args()

    convert(args.model, args.out)

After Change




if __name__ == "__main__":
    args = create_parser(usage).parse_args()

    model_name = args.model.replace(".net", "")
    convert(args.model, args.out.format(model=model_name))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: MycroftAI/mycroft-precise
Commit Name: d2a5469bf3fe95490f19f6ccfdc9e64a21a6fba8
Time: 2018-02-15
Author: matthew3311999@gmail.com
File Name: precise/convert.py
Class Name:
Method Name:


Project Name: polyaxon/polyaxon
Commit Name: b20fc24180a7591d6e1850ebb0fc2812205bdfdf
Time: 2020-06-22
Author: mouradmourafiq@gmail.com
File Name: examples/in_cluster/kubeflow/tfjob/run.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: d33ea01a5f45eb9338d03e43fd42bdd4e9f5c695
Time: 2015-09-18
Author: jon.wayne.parrott@gmail.com
File Name: storage/api/compose_objects.py
Class Name:
Method Name: