tf.tpu.experimental.HardwareFeature.EmbeddingFeature
Embedding feature flag strings.
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.tpu.experimental.HardwareFeature.EmbeddingFeature
UNSUPPORTED: No embedding lookup accelerator available on the tpu.
V1: Embedding lookup accelerator V1. The embedding lookup operation can only
be placed at the beginning of computation. Only one instance of
embedding
lookup layer is allowed.
V2: Embedding lookup accelerator V2. The embedding lookup operation can be
placed anywhere of the computation. Multiple instances of embedding
lookup layer is allowed.
Class Variables |
UNSUPPORTED
|
<EmbeddingFeature.UNSUPPORTED: 'UNSUPPORTED'>
|
V1
|
<EmbeddingFeature.V1: 'V1'>
|
V2
|
<EmbeddingFeature.V2: 'V2'>
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[]]