def project_right_coordinate
bendtorch-core@0.1.0.0 · src/shape/LAWS.bend:117
import bendtorch-core@0.1.0.0/src/shape/LAWS.bend as LAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
117def project_right_coordinate(+left: List<&2, Nat>, +right: List<&2, Nat>, +output: List<&2, Nat>, +alignment: Shape.Broadcast<left, right, output>, index: Maybe<&2, Shape.Fin(Shape.numel(output))>) -> Maybe<&2, Shape.Coordinate(right)>:
118 match index:
119 case None{}:
120 None{}
121 case Some{index}:
122 Some{Shape.project_right(left, right, output, alignment, Shape.unflatten(output, index))}