law read_outside
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
14law read_outside:
15 for +shape: Shape.Shape
16 for +fill: F32
17 for +index: U32
18 for outside: {Nat.is_lt(U32.to_nat(index), Shape.logical_numel(Shape.dimensions(shape))) == False{} : Bool}
19 Records.ReadContract<shape, fill, index, 8>
Uses (10)
Used by (0)
No other definition uses this definition.