def read_total_info

bendtorch-core@0.1.0.0 · src/tensor/transform_PROOF.bend:1282

import bendtorch-core@0.1.0.0/src/tensor/transform_PROOF.bend as TransformPROOF
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

1282def read_total_info(+shape: Shape.Shape, original: Core.Tensor<shape>, +index: U32,
1283  -inside: {Nat.is_lt(U32.to_nat(index), Shape.logical_numel(Shape.dimensions(shape))) == True{} : Bool}) ->
1284  ReadTotalInfo<shape, original, index>:
1285  ReadTotalInfo{original, {==}, present_observation(shape, original, index, inside), Core.source_read_model(shape, original, index)}

Uses (11)

Used by (1)