MCPcopy Create free account
hub / github.com/tensorflow/lingvo / ExtendStep

Method ExtendStep

lingvo/core/layers.py:3528–3556  ·  view source on GitHub ↗

Generates a JTensor of sinusoids with different frequencies for a step. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. inputs: The input sequence on which to apply the Rotary position embedding. Since rotary posit

(self, theta, inputs, time_step)