Skip to content

Instantly share code, notes, and snippets.

@yufengg
Created November 3, 2017 14:50
Show Gist options
  • Save yufengg/adb21123714e4ab4198ea26c0c2b5e06 to your computer and use it in GitHub Desktop.
Save yufengg/adb21123714e4ab4198ea26c0c2b5e06 to your computer and use it in GitHub Desktop.
feature_columns = [
tf.feature_column.numeric_column(
"pixels", shape=784)
]
classifier = tf.estimator.LinearClassifier(
feature_columns=feature_columns,
n_classes=10,
model_dir=logdir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment