Attend the Women in ML Symposium on December 7 Register now

LoadTPUEmbeddingAdagradMomentumParameters

public final class LoadTPUEmbeddingAdagradMomentumParameters

Load Adagrad Momentum embedding parameters.

An op that loads optimization parameters into HBM for embedding. Must be preceded by a ConfigureTPUEmbeddingHost op that sets up the correct embedding table configuration. For example, this op is used to install parameters that are loaded from a checkpoint before a training loop is executed.

Nested Classes

class LoadTPUEmbeddingAdagradMomentumParameters.Options Optional attributes for LoadTPUEmbeddingAdagradMomentumParameters  

Public Methods

static LoadTPUEmbeddingAdagradMomentumParameters.Options
config(String config)
static LoadTPUEmbeddingAdagradMomentumParameters
create(Scope scope, Operand<Float> parameters, Operand<Float> accumulators, Operand<Float> momenta, Long numShards, Long shardId, Options... options)
Factory method to create a class wrapping a new LoadTPUEmbeddingAdagradMomentumParameters operation.
static LoadTPUEmbeddingAdagradMomentumParameters.Options
tableId(Long tableId)
static LoadTPUEmbeddingAdagradMomentumParameters.Options
tableName(String tableName)

Inherited Methods

Public Methods

public static LoadTPUEmbeddingAdagradMomentumParameters.Options config (String config)

public static LoadTPUEmbeddingAdagradMomentumParameters create (Scope scope, Operand<Float> parameters, Operand<Float> accumulators, Operand<Float> momenta, Long numShards, Long shardId, Options... options)

Factory method to create a class wrapping a new LoadTPUEmbeddingAdagradMomentumParameters operation.

Parameters
scope current scope
parameters Value of parameters used in the Adagrad Momentum optimization algorithm.
accumulators Value of accumulators used in the Adagrad Momentum optimization algorithm.
momenta Value of momenta used in the Adagrad Momentum optimization algorithm.
options carries optional attributes values
Returns
  • a new instance of LoadTPUEmbeddingAdagradMomentumParameters

public static LoadTPUEmbeddingAdagradMomentumParameters.Options tableId (Long tableId)

public static LoadTPUEmbeddingAdagradMomentumParameters.Options tableName (String tableName)