law mapped_inverse
import bendtorch-core@0.1.0.0/src/tensor/transform_LAWS.bend as TransformLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/layout.bend as Layout
30law mapped_inverse:
31 for -input: Shape.Shape
32 for -axes: List<&2, U32>
33 for -plan: Layout.Plan<input, axes>
34 for -i: U32
35 for +mapping: Layout.Mapping<input, axes, plan, i>
36 {Some{Layout.input_words(input, axes, plan, i, mapping)} ==
37 Layout.inverse_coordinates(Shape.dimensions(input), axes, Layout.output_words(input, axes, plan, i, mapping), 0) : Maybe<&2, List<&2, U32>>}
Uses (10)
Used by (0)
No other definition uses this definition.