EnqueueTPUEmbeddingSparseTensorBatch.Options
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Méthodes héritées
De la classe java.lang.Object booléen | est égal à (Objet arg0) |
Classe finale<?> | obtenirClasse () |
int | Code de hachage () |
vide final | notifier () |
vide final | notifierTous () |
Chaîne | àChaîne () |
vide final | attendre (long arg0, int arg1) |
vide final | attendez (long arg0) |
vide final | attendez () |
Méthodes publiques
Paramètres
combinateurs | Une liste de scalaires de chaînes, une pour chaque table d'intégration, qui spécifient comment normaliser les activations d'intégration après la sommation pondérée. Les combinateurs pris en charge sont « moyenne », « somme » ou « sqrtn ». Il n'est pas valide que la somme des poids soit égale à 0 pour « moyenne » ou que la somme des poids au carré soit égale à 0 pour « sqrtn ». Si les combinateurs ne sont pas transmis, la valeur par défaut est d'utiliser « somme » pour toutes les tables. |
---|
Paramètres
appareilOrdinal | Le périphérique TPU à utiliser. Doit être >= 0 et inférieur au nombre de cœurs TPU dans la tâche sur laquelle le nœud est placé. |
---|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[],[],null,["# EnqueueTPUEmbeddingSparseTensorBatch.Options\n\npublic static class **EnqueueTPUEmbeddingSparseTensorBatch.Options** \nOptional attributes for [EnqueueTPUEmbeddingSparseTensorBatch](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch) \n\n### Public Methods\n\n|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options) | [combiners](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options#combiners(java.util.List\u003cjava.lang.String\u003e))(List\\\u003cString\\\u003e combiners) |\n| [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options) | [deviceOrdinal](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options#deviceOrdinal(java.lang.Long))(Long deviceOrdinal) |\n| [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options) | [maxSequenceLengths](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options#maxSequenceLengths(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e maxSequenceLengths) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options)\n**combiners**\n(List\\\u003cString\\\u003e combiners)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| combiners | A list of string scalars, one for each embedding table that specify how to normalize the embedding activations after weighted summation. Supported combiners are 'mean', 'sum', or 'sqrtn'. It is invalid to have the sum of the weights be 0 for 'mean' or the sum of the squared weights be 0 for 'sqrtn'. If combiners isn't passed, the default is to use 'sum' for all tables. |\n|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options)\n**deviceOrdinal**\n(Long deviceOrdinal)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| deviceOrdinal | The TPU device to use. Should be \\\u003e= 0 and less than the number of TPU cores in the task on which the node is placed. |\n|---------------|-----------------------------------------------------------------------------------------------------------------------|\n\n#### public [EnqueueTPUEmbeddingSparseTensorBatch.Options](/jvm/api_docs/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.Options)\n**maxSequenceLengths**\n(List\\\u003cLong\\\u003e maxSequenceLengths)\n\n\u003cbr /\u003e"]]