public final class RetrieveTPUEmbeddingStochasticGradientDescentParameters extends PrimitiveOp implements Operand<Float>
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 |
RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options
Optional attributes for
RetrieveTPUEmbeddingStochasticGradientDescentParameters |
operation
Modifier and Type | Method and Description |
---|---|
Output<Float> |
asOutput()
Returns the symbolic handle of a tensor.
|
static RetrieveTPUEmbeddingStochasticGradientDescentParameters |
create(Scope scope,
Long numShards,
Long shardId,
RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options... options)
Factory method to create a class wrapping a new RetrieveTPUEmbeddingStochasticGradientDescentParameters operation.
|
Output<Float> |
parameters()
Parameter parameters updated by the stochastic gradient descent optimization algorithm.
|
static RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options |
tableId(Long tableId) |
static RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options |
tableName(String tableName) |
equals, hashCode, op, toString
public static RetrieveTPUEmbeddingStochasticGradientDescentParameters create(Scope scope, Long numShards, Long shardId, RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options... options)
scope
- current scopenumShards
- shardId
- options
- carries optional attributes valuespublic static RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options tableId(Long tableId)
tableId
- public static RetrieveTPUEmbeddingStochasticGradientDescentParameters.Options tableName(String tableName)
tableName
- public Output<Float> parameters()
public Output<Float> asOutput()
Operand
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.
asOutput
in interface Operand<Float>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.