type CopyMeaning

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

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

301type CopyMeaning<-input: Shape.Shape, -axes: List<&2, U32>, -plan: Layout.Plan<input, axes>, -index: U32,
302  -mapping: Layout.Mapping<input, axes, plan, index>, -source: Core.Tensor<input>,
303  -target: Core.Tensor<Layout.output(input, axes, plan)>> is Data:
304  CopyMeaning{-meaning: {copy_observe(input, axes, plan, copy_step(input, axes, plan, source, target, index), index) ==
305    Core.checked_observe(input, source, Layout.source_index(input, axes, plan, index, mapping)) : Maybe<&2, F32>}}

Uses (13)

Used by (2)