public final class RetrieveTPUEmbeddingMomentumParametersGradAccumDebug extends PrimitiveOp
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.
Modifier and Type | Class and Description |
---|---|
static class |
RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options
Optional attributes for
RetrieveTPUEmbeddingMomentumParametersGradAccumDebug |
operation
Modifier and Type | Method and Description |
---|---|
static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug |
create(Scope scope,
Long numShards,
Long shardId,
RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options... options)
Factory method to create a class wrapping a new RetrieveTPUEmbeddingMomentumParametersGradAccumDebug operation.
|
Output<Float> |
gradientAccumulators()
Parameter gradient_accumulators updated by the Momentum optimization algorithm.
|
Output<Float> |
momenta()
Parameter momenta updated by the Momentum optimization algorithm.
|
Output<Float> |
parameters()
Parameter parameters updated by the Momentum optimization algorithm.
|
static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options |
tableId(Long tableId) |
static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options |
tableName(String tableName) |
equals, hashCode, op, toString
public static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug create(Scope scope, Long numShards, Long shardId, RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options... options)
scope
- current scopenumShards
- shardId
- options
- carries optional attributes valuespublic static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options tableId(Long tableId)
tableId
- public static RetrieveTPUEmbeddingMomentumParametersGradAccumDebug.Options tableName(String tableName)
tableName
- public Output<Float> parameters()
public Output<Float> momenta()
Copyright © 2022. All rights reserved.