Created
August 13, 2018 16:14
-
-
Save lakshmanok/eb8b72a7700279ca6bb915365ec62cf2 to your computer and use it in GitHub Desktop.
How to serve an embedding trained with Estimators
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 5. Return EstimatorSpec | |
| return spec._replace(predictions = predictions_dict, | |
| export_outputs = export_outputs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment