def index_value

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

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

256def index_value(-shape: Shape.Shape, index: FlatIndex<shape>) -> U32:
257  FIndex{value, valid} = index
258  value

Uses (3)

Used by (14)