def axis_plan_succeeded

bendtorch-core@0.1.0.0 · src/tensor/axis_LAWS.bend:7

import bendtorch-core@0.1.0.0/src/tensor/axis_LAWS.bend as AxisLAWS
import 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

7def axis_plan_succeeded(-shape: Shape.Shape, -axes: List<&2, U32>, result: Result<&2, &2, Layout.Error, Layout.Plan<shape, axes>>) -> Bool:
8  match result:
9    case Fail{error}:
10      False{}
11    case Done{plan}:
12      True{}

Uses (7)

Used by (2)