tf-estimator-basics
                                
                                 tf-estimator-basics copied to clipboard
                                
                                    tf-estimator-basics copied to clipboard
                            
                            
                            
                        Train, predict, export and reload a tf.estimator for inference
Tensorflow Estimator Basics
Train, predict, export and reload a tf.estimator for inference on a dummy example.
Quickstart
make run
Details
- model.pydefines the- model_fn
- train.pytrains an Estimator using the- model_fn
- export.pyexports the Estimator as a- saved_model
- predict.pyreloads an Estimator and uses it for prediction
- serve.pyreloads the inference graph from the- saved_modelformat and uses it for prediction