Class RetrieveAllTPUEmbeddingParameters
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.tpu.RetrieveAllTPUEmbeddingParameters
- All Implemented Interfaces:
Op
An op that retrieves optimization parameters from embedding to host memory.
An op that retrieves optimization parameters from embedding to host memory.
Must be preceded by a ConfigureTPUEmbeddingHost op that sets up the correct
embedding table configuration. For example, this op is used to retrieve updated
parameters before saving a checkpoint. For Adagrad, auxiliary1 will contain the
accumulators after running this op. For SGD, all of the auxiliary* values will
be empty (0x0 tensors for that table). For FTRL, auxiliary1 will contain the
accumulators and auxiliary2 will contain the linear terms. For ADAM, auxiliary1
will contain the momenta and auxiliary2 will contain the velocities.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets auxiliary1.Gets auxiliary2.Gets auxiliary3.Gets auxiliary4.Gets auxiliary5.Gets auxiliary6.Gets auxiliary7.Factory method to create a class wrapping a new RetrieveAllTPUEmbeddingParameters operation.Gets parameters.
-
Field Details
-
OP_NAME
The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
RetrieveAllTPUEmbeddingParameters
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public static RetrieveAllTPUEmbeddingParameters create(Scope scope, Long NumTables, String config, Long numShards, Long shardId) Factory method to create a class wrapping a new RetrieveAllTPUEmbeddingParameters operation.- Parameters:
scope- current scopeNumTables- The number of embedding tables.config- An TPUEmbeddingConfiguration proto describing the table parameters being loaded, serialized to a string.numShards- Number of shards into which the embedding tables are divided.shardId- Identifier of shard for this operation.- Returns:
- a new instance of RetrieveAllTPUEmbeddingParameters
-
parameters
-
auxiliary1
Gets auxiliary1. A list of tensors, one for each embedding table, containing the first auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary1.
-
auxiliary2
Gets auxiliary2. A list of tensors, one for each embedding table, containing the second auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary2.
-
auxiliary3
Gets auxiliary3. A list of tensors, one for each embedding table, containing the third auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary3.
-
auxiliary4
Gets auxiliary4. A list of tensors, one for each embedding table, containing the fourth auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary4.
-
auxiliary5
Gets auxiliary5. A list of tensors, one for each embedding table, containing the fifth auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary5.
-
auxiliary6
Gets auxiliary6. A list of tensors, one for each embedding table, containing the six auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary6.
-
auxiliary7
Gets auxiliary7. A list of tensors, one for each embedding table, containing the seventh auxiliary optimization parameter stored. Elements are present in the list, but have zero size, for unused optimization parameters (based on the algorithm in use for each table).- Returns:
- auxiliary7.
-