提交 faca712c 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Update migration guide link

PiperOrigin-RevId: 380914130
上级 1abd9a10
......@@ -88,7 +88,7 @@ class Dense(keras_layers.Dense, base.Layer):
@compatibility(TF2)
This API is not compatible with eager execution or `tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Dense`.
......@@ -204,7 +204,7 @@ def dense(
@compatibility(TF2)
This API is not compatible with eager execution or `tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Dense`.
......@@ -276,7 +276,7 @@ class Dropout(keras_layers.Dropout, base.Layer):
@compatibility(TF2)
This API is not compatible with eager execution or `tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Dropout`.
......@@ -357,7 +357,7 @@ def dropout(inputs,
@compatibility(TF2)
This API is not compatible with eager execution or `tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Dropout`.
......@@ -414,7 +414,7 @@ class Flatten(keras_layers.Flatten, base.Layer):
@compatibility(TF2)
This API is not compatible with eager execution or `tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Flatten`.
......@@ -472,7 +472,7 @@ def flatten(inputs, name=None, data_format='channels_last'):
@compatibility(TF2)
This API is not compatible with eager execution or`tf.function`.
Please refer to [migration guide]
Please refer to [tf.layers section of the migration guide]
(https://www.tensorflow.org/guide/migrate#models_based_on_tflayers)
for more details on migrating a TF1 model to Keras. In TF2 the corresponding
layer is `tf.keras.layers.Flatten`.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册