Skip to content

Commit

Permalink
Fixing FixedLenFeature
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 288564698
  • Loading branch information
rcrowe-google authored and tensorflow-extended-team committed Jan 7, 2020
1 parent ba603a7 commit c9aff73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/transform/simple.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
"\n",
"raw_data_metadata = dataset_metadata.DatasetMetadata(\n",
" dataset_schema.from_feature_spec({\n",
" 'y': tf.FixedLenFeature([], tf.float32),\n",
" 'x': tf.FixedLenFeature([], tf.float32),\n",
" 's': tf.FixedLenFeature([], tf.string),\n",
" 'y': tf.io.FixedLenFeature([], tf.float32),\n",
" 'x': tf.io.FixedLenFeature([], tf.float32),\n",
" 's': tf.io.FixedLenFeature([], tf.string),\n",
" }))"
]
},
Expand Down

0 comments on commit c9aff73

Please sign in to comment.