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

Function SplitRecursively

lingvo/core/py_utils.py:3503–3535  ·  view source on GitHub ↗

Splits Tensors in 'x' recursively. Args: x: a Tensor, or a list or NestMap containing Tensors to split. num_splits: number of splits per Tensor. axis: the split axis. Returns: A list of split values of length 'num_splits'. - If 'x' is a Tensor, a list of split Tensors.

(x, num_splits, axis=-1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

NestedMapClass · 0.85
splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…