Add warning about TF issue regarding DenseFeatures and the Functional API, fixes #6

main
Aurélien Geron 2019-05-15 20:23:24 +08:00
parent ec3136f59f
commit 73a36f335f
2 changed files with 7 additions and 0 deletions

View File

@ -1493,6 +1493,13 @@
"dataset = dataset.repeat().shuffle(10000).batch(batch_size).map(parse_examples)" "dataset = dataset.repeat().shuffle(10000).batch(batch_size).map(parse_examples)"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Warning**: the `DenseFeatures` layer currently does not work with the Functional API, see [TF issue #27416](https://github.com/tensorflow/tensorflow/issues/27416). Hopefully this will be resolved before the final release of TF 2.0."
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 98, "execution_count": 98,