Class TPUEmbeddingActivations
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.tpu.TPUEmbeddingActivations
@Deprecated
@Operator(group="tpu")
public final class TPUEmbeddingActivations
extends RawOp
implements Operand<TFloat32>
Deprecated.
An op enabling differentiation of TPU Embeddings.
This op simply returns its first input, which is assumed to have been sliced
from the Tensors returned by TPUEmbeddingDequeueActivations. The presence of
this op, and its first argument being a trainable Variable, enables automatic
differentiation of graphs containing embeddings via the TPU Embedding Python
libraries.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasOutput()Deprecated.Returns the symbolic handle of the tensor.static TPUEmbeddingActivationscreate(Scope scope, Operand<TFloat32> embeddingVariable, Operand<TFloat32> slicedActivations, Long tableId, Long lookupId) Deprecated.Factory method to create a class wrapping a new TPUEmbeddingActivations operation.output()Deprecated.Gets output.
-
Field Details
-
OP_NAME
Deprecated.The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
TPUEmbeddingActivations
Deprecated.
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public static TPUEmbeddingActivations create(Scope scope, Operand<TFloat32> embeddingVariable, Operand<TFloat32> slicedActivations, Long tableId, Long lookupId) Deprecated.Factory method to create a class wrapping a new TPUEmbeddingActivations operation.- Parameters:
scope- current scopeembeddingVariable- A trainable variable, enabling optimizers to find this op.slicedActivations- The embedding activations Tensor to return.tableId- The id of the table in the embedding layer configuration from which these activations were computed.lookupId- Identifier of the set of embedding indices which produced these activations.- Returns:
- a new instance of TPUEmbeddingActivations
-
output
-
asOutput
Deprecated.Description copied from interface:OperandReturns the symbolic handle of the tensor.Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
-
EmbeddingActivationsinstead