LoadTPUEmbeddingStochasticGradientDescentParameters

public final class LoadTPUEmbeddingStochasticGradientDescentParameters

Load SGD 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 LoadTPUEmbeddingStochasticGradientDescentParameters.Options Optional attributes for LoadTPUEmbeddingStochasticGradientDescentParameters  

Public Methods

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

Inherited Methods

Public Methods

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

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

Parameters
scope current scope
parameters Value of parameters used in the stochastic gradient descent optimization algorithm.
options carries optional attributes values
Returns
  • a new instance of LoadTPUEmbeddingStochasticGradientDescentParameters

public static LoadTPUEmbeddingStochasticGradientDescentParameters.Options tableName (String tableName)