def leaf
bendtorch-core@0.1.0.0 · src/tensor/permute_build_proof.bend:546
import bendtorch-core@0.1.0.0/src/tensor/permute_build_proof.bend as PermuteBuildProof
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
546def leaf(+input: Shape.Shape, +axes: List<&2, U32>, +fill: F32, +ops: List<&2, StorageLaws.Op>, +position: Nat, inside: Bool) -> F32:
547 match inside:
548 case False{}:
549 0.0
550 case True{}:
551 word(input, axes, fill, ops, position)