daa342d04c7fe19ff1a79775034c9c91e02d0e32,cloudml-template/template/trainer/model.py,,create_estimator,#Any#,117
Before Change
print("creating a custom estimator")
return tf.estimator.Estimator(model_fn=_model_fn,
config=config)
// ***************************************************************************************
// THIS IS A HELPER FUNCTION TO CREATE GET THE HIDDEN LAYER UNITS
After Change
print("creating a custom model...")
estimator = tf.estimator.Estimator(model_fn=_model_fn, config=config)
estimator = tf.contrib.estimator.add_metrics(estimator, metric_fn)
return estimator
// ***************************************************************************************
// YOU NEED NOT TO CHANGE THESE HELPER FUNCTIONS USED FOR CONSTRUCTING THE MODELS
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: daa342d04c7fe19ff1a79775034c9c91e02d0e32
Time: 2018-05-23
Author: dcavazos@google.com
File Name: cloudml-template/template/trainer/model.py
Class Name:
Method Name: create_estimator
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: 06ced37ec1f9b8a9eb1de4fc3be4b5622e95e678
Time: 2018-03-14
Author: khalid.m.salama@gmail.com
File Name: cloudml-template/examples/babyweight-custom/trainer/model.py
Class Name:
Method Name: create_estimator
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: daa342d04c7fe19ff1a79775034c9c91e02d0e32
Time: 2018-05-23
Author: dcavazos@google.com
File Name: cloudml-template/examples/babyweight-custom/trainer/model.py
Class Name:
Method Name: create_estimator
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: 06ced37ec1f9b8a9eb1de4fc3be4b5622e95e678
Time: 2018-03-14
Author: khalid.m.salama@gmail.com
File Name: cloudml-template/template/trainer/model.py
Class Name:
Method Name: create_estimator