We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05e5ed commit ae1668fCopy full SHA for ae1668f
tensorflow/docs_src/tutorials/wide_and_deep.md
@@ -233,7 +233,7 @@ def input_fn(df):
233
categorical_cols = {k: tf.SparseTensor(
234
indices=[[i, 0] for i in range(df[k].size)],
235
values=df[k].values,
236
- shape=[df[k].size, 1])
+ dense_shape=[df[k].size, 1])
237
for k in CATEGORICAL_COLUMNS}
238
# Merges the two dictionaries into one.
239
feature_cols = dict(continuous_cols.items() + categorical_cols.items())
0 commit comments