def index_value
import bendtorch-core@0.1.0.0/src/shape/core.bend as Coreimport Base
684def index_value(-shape: Shape, index: FlatIndex<shape>) -> U32:
685 FIndex{value, bound} = index
686 U32.from_nat(value)
Uses (4)
Used by (22)
- bendtorch-core@0.1.0.0/src/shape/LAWS:index_result
- bendtorch-core@0.1.0.0/src/tensor/observation:coordinate_index
- bendtorch-core@0.1.0.0/src/tensor/elementwise:flat_input_indices
- bendtorch-core@0.1.0.0/src/tensor/core:read_coordinate_result
- bendtorch-core@0.1.0.0/src/tensor/matmul_LAWS:coordinate_observe_result
- …