law read_inside
import bendtorch-core@0.1.0.0/src/tensor/read_write_contract_LAWS.bend as ReadWriteContractLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/read_write_records.bend as Records
7law read_inside:
8 for +shape: Shape.Shape
9 for +fill: F32
10 for +index: U32
11 for inside: {Nat.is_lt(U32.to_nat(index), Shape.logical_numel(Shape.dimensions(shape))) == True{} : Bool}
12 Records.ReadInside<shape, fill, index>
Uses (10)
Used by (0)
No other definition uses this definition.