Getting started
Configuration
Usage
API
Shifts sequences by an offset.
tensor – A tf.Tensor of shape \([B, T, ...]\).
tf.Tensor
offsets – The offset of each sequence of shape \([B]\).
A tf.Tensor with the same shape as tensor and with sequences shifted by offsets.
tensor
offsets