This class specifies a positional weighted sum combiner over the TPU embedding
lookup results. It also supports a custom optimizer computation to be
performed on the positional weights.
Args
max_valency
The valency cap of the corresponding feature. This value is
also used as the number of positional weights.
initializer
The initializer for the positional weights.
custom_optimizer
CustomOptimizer encapsulating the custom optimizer
computation, learning rate, slot names, slot initializers, and
hyperparameters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-31 UTC."],[],[]]