mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Expose Normal/Ragged/Sparse KerasTensor as public API.
Although they are still implementation details, this will allow user to do type checking as well as type annotation for their code. PiperOrigin-RevId: 516295859
This commit is contained in:
parent
8c3822edbb
commit
f6aeedfa1e
|
|
@ -71,6 +71,11 @@
|
|||
evaluating Keras models trained with
|
||||
`tf.distribute.ParameterServerStrategy`, via the
|
||||
`exact_evaluation_shards` argument in `Model.fit` and `Model.evaluate`.
|
||||
* Added `tf.keras.__internal__.KerasTensor`,
|
||||
`tf.keras.__internal__.SparseKerasTensor`, and
|
||||
`tf.keras.__internal__.RaggedKerasTensor` classes. You can use these
|
||||
classes to do instance type checking and type annotations for
|
||||
layer/model inputs and outputs.
|
||||
|
||||
* `tf.function`:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user