Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand

RetrieveTPUEmbeddingMDLAdagradLightParameters

public final class RetrieveTPUEmbeddingMDLAdagradLightParameters

Retrieve MDL Adagrad Light embedding parameters.

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.

Nested Classes

class RetrieveTPUEmbeddingMDLAdagradLightParameters.Options Optional attributes for RetrieveTPUEmbeddingMDLAdagradLightParameters  

Public Methods

Output<Float>
accumulators()
Parameter accumulators updated by the MDL Adagrad Light optimization algorithm.
Output<Float>
benefits()
Parameter benefits updated by the MDL Adagrad Light optimization algorithm.
static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options
config(String config)
static RetrieveTPUEmbeddingMDLAdagradLightParameters
create(Scope scope, Long numShards, Long shardId, Options... options)
Factory method to create a class wrapping a new RetrieveTPUEmbeddingMDLAdagradLightParameters operation.
Output<Float>
parameters()
Parameter parameters updated by the MDL Adagrad Light optimization algorithm.
static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options
tableId(Long tableId)
static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options
tableName(String tableName)
Output<Float>
weights()
Parameter weights updated by the MDL Adagrad Light optimization algorithm.

Inherited Methods

Public Methods

public Output<Float> accumulators ()

Parameter accumulators updated by the MDL Adagrad Light optimization algorithm.

public Output<Float> benefits ()

Parameter benefits updated by the MDL Adagrad Light optimization algorithm.

public static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options config (String config)

public static RetrieveTPUEmbeddingMDLAdagradLightParameters create (Scope scope, Long numShards, Long shardId, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of RetrieveTPUEmbeddingMDLAdagradLightParameters

public Output<Float> parameters ()

Parameter parameters updated by the MDL Adagrad Light optimization algorithm.

public static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options tableId (Long tableId)

public static RetrieveTPUEmbeddingMDLAdagradLightParameters.Options tableName (String tableName)

public Output<Float> weights ()

Parameter weights updated by the MDL Adagrad Light optimization algorithm.