law clone_write

bendtorch-core@0.1.0.0 · src/tensor/clone_metadata_contract_LAWS.bend:10

import bendtorch-core@0.1.0.0/src/tensor/clone_metadata_contract_LAWS.bend as CloneMetadataContractLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/clone_metadata_records.bend as Records

10law clone_write:
11  for +shape: Shape.Shape
12  for +fill: F32
13  for +index: U32
14  for +value: F32
15  for inside: {Nat.is_lt(U32.to_nat(index), Shape.logical_numel(Shape.dimensions(shape))) == True{} : Bool}
16  Records.CloneWrite<shape, fill, index, value>

Uses (10)

Used by (0)

No other definition uses this definition.