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

Function ShiftLeft

lingvo/core/py_utils.py:4633–4655  ·  view source on GitHub ↗

Shifts the values in a tensor to the left along the axis dimension. The first shift_size values are dropped, and the tensor is padded on the right with pad_val. Args: tensor: the input tensor with the axis dim being time. shift_size: the number of frames >= 0 to shift. pad_val: t

(tensor, shift_size, pad_val=0, axis=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

assert_greater_equalFunction · 0.85
GetShapeFunction · 0.85
PadSequenceDimensionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…