9f3cd533db7695b58f95b369c16bb1b3009e4714,examples/mnist/keras/mnist_spark.py,,main_fun,#Any#Any#,6

Before Change



  from tensorflow_estimator.python.estimator.export import export_lib
  export_dir = export_lib.get_timestamped_export_dir(args.export_dir)
  multi_worker_model.save(export_dir, save_format="tf")

  // terminating feed tells spark to skip processing further partitions
  tf_feed.terminate()

After Change



  from tensorflow_estimator.python.estimator.export import export_lib
  export_dir = export_lib.get_timestamped_export_dir(args.export_dir)
  compat.export_saved_model(multi_worker_model, export_dir, ctx.job_name == "chief")

  // terminating feed tells spark to skip processing further partitions
  tf_feed.terminate()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 9f3cd533db7695b58f95b369c16bb1b3009e4714
Time: 2019-12-05
Author: leewyang@verizonmedia.com
File Name: examples/mnist/keras/mnist_spark.py
Class Name:
Method Name: main_fun


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 9f3cd533db7695b58f95b369c16bb1b3009e4714
Time: 2019-12-05
Author: leewyang@verizonmedia.com
File Name: examples/mnist/keras/mnist_tf.py
Class Name:
Method Name: main_fun


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 9f3cd533db7695b58f95b369c16bb1b3009e4714
Time: 2019-12-05
Author: leewyang@verizonmedia.com
File Name: examples/mnist/keras/mnist_tf_ds.py
Class Name:
Method Name: main_fun


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 9f3cd533db7695b58f95b369c16bb1b3009e4714
Time: 2019-12-05
Author: leewyang@verizonmedia.com
File Name: examples/mnist/keras/mnist_pipeline.py
Class Name:
Method Name: main_fun