type WholeCopyModel

bendtorch-core@0.1.0.0 · src/tensor/transforms.bend:405

import bendtorch-core@0.1.0.0/src/tensor/transforms.bend as Transforms
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/layout.bend as Layout

405type WholeCopyModel<-input: Shape.Shape, -axes: List<&2, U32>, -plan: Layout.Plan<input, axes>, -source: Core.Tensor<input>,
406  -target: Core.Tensor<Layout.output(input, axes, plan)>> is Data:
407  WholeCopyModel{-meaning: LoopMeaning(input, axes, plan, source,
408    Shape.logical_numel(Shape.dimensions(Layout.output(input, axes, plan))),
409    copy_loop(Shape.elements(Layout.output(input, axes, plan)), input, axes, plan, source, target, 0n))}

Uses (11)

Used by (2)