Skip to content

Instantly share code, notes, and snippets.

@ChunML
Created December 12, 2018 05:27
Show Gist options
  • Save ChunML/f983157ce8b3e90e64d41ef04e2fa9d6 to your computer and use it in GitHub Desktop.
Save ChunML/f983157ce8b3e90e64d41ef04e2fa9d6 to your computer and use it in GitHub Desktop.
train_init_op = iterator.make_initializer(train_data)
val_init_op = iterator.make_initializer(val_data)
return next_element, train_init_op, val_init_op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment