tf.tpu.experimental.embedding.RowIdInitializer
Инициализатор, который инициализирует таблицу с идентификаторами словаря.
tf.tpu.experimental.embedding.RowIdInitializer(
offset: int = 0
)
Методы
__call__
__call__(
shape: Union[Sequence[int], tf.TensorShape],
dtype: tf.dtypes.DType
) -> core.Tensor
Вызов себя как функции.
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/tpu/experimental/embedding/RowIdInitializer