Skip to content

Instantly share code, notes, and snippets.

@lakshmanok
Created August 13, 2018 16:14
Show Gist options
  • Select an option

  • Save lakshmanok/eb8b72a7700279ca6bb915365ec62cf2 to your computer and use it in GitHub Desktop.

Select an option

Save lakshmanok/eb8b72a7700279ca6bb915365ec62cf2 to your computer and use it in GitHub Desktop.
How to serve an embedding trained with Estimators
# 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