Skip to content

Instantly share code, notes, and snippets.

@hadifar
Last active January 4, 2019 14:59
Show Gist options
  • Save hadifar/e28f1aad4f5fbcbce0b02b015d1d615f to your computer and use it in GitHub Desktop.
Save hadifar/e28f1aad4f5fbcbce0b02b015d1d615f to your computer and use it in GitHub Desktop.
def input_fn():
... # manipulate dataset, extracting the feature dict and the label
return feature_dict, label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment