def unflatten_words

bendtorch-core@0.1.0.0 · src/tensor/layout.bend:273

import bendtorch-core@0.1.0.0/src/tensor/layout.bend as Layout
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

273def unflatten_words(reversed_dimensions: List<&2, U32>, +index: U32) -> List<&2, U32>:
274  reverse_words(Shape.words(Shape.digits_words(reverse_words(reversed_dimensions), U32.to_nat(index))))

Uses (6)

Used by (23)