def indices_result
import bendtorch-core@0.1.0.0/src/tensor/projection_LAWS.bend as ProjectionLAWSimport Base
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
25def indices_result(result: Result<&2, &1, Core.Error, U32 & U32>) -> Maybe<&1, U32 & U32>:
26 match result:
27 case Fail{error}:
28 None{}
29 case Done{indices}:
30 Some{indices}
Uses (5)
Used by (7)
- bendtorch-core@0.1.0.0/src/tensor/projection_LAWS:input_indices_refines
- bendtorch-core@0.1.0.0/src/tensor/projection_LAWS:expected_projection_refines
- bendtorch-core@0.1.0.0/src/autograd/broadcast_PROOF:keep_left_source
- bendtorch-core@0.1.0.0/src/tensor/projection_LAWS:actual_flat_projection
- bendtorch-core@0.1.0.0/src/tensor/projection_PROOF:checked_projection
- …