mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Merge pull request #7828 from tensorflow/skleinfeld-patch-2
Adding missing close parenthesis in code listing.
This commit is contained in:
commit
b5e5120c58
|
|
@ -286,7 +286,7 @@ accept a _pandas_ `Dataframe` and return feature column and label values as
|
|||
|
||||
```python
|
||||
def input_fn(data_set):
|
||||
feature_cols = {k: tf.constant(data_set[k].values
|
||||
feature_cols = {k: tf.constant(data_set[k].values)
|
||||
for k in FEATURES}
|
||||
labels = tf.constant(data_set[LABEL].values)
|
||||
return feature_cols, labels
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user