tf.raw_ops.LoadTPUEmbeddingFrequencyEstimatorParameters
Stay organized with collections
Save and categorize content based on your preferences.
Load frequency estimator embedding parameters.
tf.raw_ops.LoadTPUEmbeddingFrequencyEstimatorParameters(
parameters,
last_hit_step,
num_shards,
shard_id,
table_id=-1,
table_name='',
config='',
name=None
)
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.
Args |
parameters
|
A Tensor of type float32.
Value of parameters used in the frequency estimator optimization algorithm.
|
last_hit_step
|
A Tensor of type float32.
Value of last_hit_step used in the frequency estimator optimization algorithm.
|
num_shards
|
An int.
|
shard_id
|
An int.
|
table_id
|
An optional int. Defaults to -1.
|
table_name
|
An optional string. Defaults to "".
|
config
|
An optional string. Defaults to "".
|
name
|
A name for the operation (optional).
|
Returns |
|
The created Operation.
|
[null,null,["Last updated 2023-10-06 UTC."],[],[]]