c982a2816616cdb6a963fea5551ace1463924baf,scripts/keras_benchmarks/run_benchmark.py,,,#,12
Before Change
parser = argparse.ArgumentParser()
parser.add_argument("--keras_backend", default="tensorflow",
help="Keras backend being used to run benchmarks.")
parser.add_argument("--cpu_num_cores",
help="")
parser.add_argument("--cpu_memory",
After Change
// Load the json config file for the requested mode.
config_file = open("benchmarks/scripts/keras_benchmarks/config.json", "r")
config_contents = config_file.read()
config = json.loads(config_contents)[args.mode]
def get_backend_version():
if keras.backend.backend() == "tensorflow":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/benchmarks
Commit Name: c982a2816616cdb6a963fea5551ace1463924baf
Time: 2017-11-15
Author: anjalisridhar@google.com
File Name: scripts/keras_benchmarks/run_benchmark.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: studioml/studio
Commit Name: d1c6ec9343a40c1f367df47e8879953519e71cff
Time: 2017-06-13
Author: peter.zhokhov@sentient.ai
File Name: studio/lworker.py
Class Name:
Method Name: main