def value

bendtorch-core@0.1.0.0 · src/tensor/contracts/replayed.bend:19

import bendtorch-core@0.1.0.0/src/tensor/contracts/replayed.bend as Replayed
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/storage/LAWS.bend as StorageLaws

19def value(+shape: Shape.Shape, +fill: F32, +ops: List<&2, StorageLaws.Op>, +index: U32) -> F32:
20  StorageLaws.expected(ops, U32.to_nat(Shape.count(shape)), index, fill)

Uses (8)

Used by (160)