tf.tpu.experimental.HardwareFeature.EmbeddingFeature
Stay organized with collections
Save and categorize content based on your preferences.
Embedding feature flag strings.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# tf.tpu.experimental.HardwareFeature.EmbeddingFeature\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/tpu/tpu_hardware_feature.py#L34-L48) |\n\nEmbedding feature flag strings.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.tpu.experimental.HardwareFeature.EmbeddingFeature`](https://www.tensorflow.org/api_docs/python/tf/tpu/experimental/HardwareFeature/EmbeddingFeature)\n\n\u003cbr /\u003e\n\nUNSUPPORTED: No embedding lookup accelerator available on the tpu.\nV1: Embedding lookup accelerator V1. The embedding lookup operation can only\nbe placed at the beginning of computation. Only one instance of\nembedding\nlookup layer is allowed.\nV2: Embedding lookup accelerator V2. The embedding lookup operation can be\nplaced anywhere of the computation. Multiple instances of embedding\nlookup layer is allowed.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|-------------|-------------------------------------------------|\n| UNSUPPORTED | `\u003cEmbeddingFeature.UNSUPPORTED: 'UNSUPPORTED'\u003e` |\n| V1 | `\u003cEmbeddingFeature.V1: 'V1'\u003e` |\n| V2 | `\u003cEmbeddingFeature.V2: 'V2'\u003e` |\n\n\u003cbr /\u003e"]]