LoadTPUEmbeddingFTRLParameters

public final class LoadTPUEmbeddingFTRLParameters

Load FTRL 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 LoadTPUEmbeddingFTRLParameters.Options Optional attributes for LoadTPUEmbeddingFTRLParameters

Public Methods

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

Inherited Methods

Public Methods

public static LoadTPUEmbeddingFTRLParameters.Options config (String config)

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

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

Parameters
scope current scope
parameters Value of parameters used in the FTRL optimization algorithm.
accumulators Value of accumulators used in the FTRL optimization algorithm.
linears Value of linears used in the FTRL optimization algorithm.
options carries optional attributes values
Returns
  • a new instance of LoadTPUEmbeddingFTRLParameters

public static LoadTPUEmbeddingFTRLParameters.Options tableId (Long tableId)

public static LoadTPUEmbeddingFTRLParameters.Options tableName (String tableName)