law new_reads

bendtorch-core@0.1.0.0 · src/tensor/construction_contract_LAWS.bend:26

import bendtorch-core@0.1.0.0/src/tensor/construction_contract_LAWS.bend as ConstructionContractLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

26law new_reads:
27  for +shape: Shape.Shape
28  for +fill: F32
29  for +index: U32
30  for inside: {Nat.is_lt(U32.to_nat(index), Shape.logical_numel(Shape.dimensions(shape))) == True{} : Bool}
31  NewReads<shape, fill, index>

Uses (19)

Used by (0)

No other definition uses this definition.