Skip to content

Instantly share code, notes, and snippets.

@amirhfarzaneh
Created February 23, 2018 09:07
Show Gist options
  • Save amirhfarzaneh/34738aeeb051ba92ddf0519d293fe68d to your computer and use it in GitHub Desktop.
Save amirhfarzaneh/34738aeeb051ba92ddf0519d293fe68d to your computer and use it in GitHub Desktop.
train_input_fn = tf.estimator.inputs.numpy_input_fn(x={"x": train_data},
y=train_labels,
batch_size=100,
num_epochs=100,
shuffle=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment