def target

bendtorch-core@0.1.0.0 · src/tensor/index_map.bend:31

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

31def target(~P: Data, ~map: P -> Nat -> Nat, +count: Nat, +plan: P, +input: Shape.Shape, +fill: F32,
32  +ops: List<&2, StorageLaws.Op>, +output: Shape.Shape) -> Storage.Storage:
33  Replayed.storage(output, 0.0, writes(~P, ~map, count, plan, input, fill, ops))

Uses (8)

Used by (3)