def dimensions_pair

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

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

7def dimensions_pair(pair: Core.Dynamic & Shape.Shape) -> Maybe<&2, List<&2, U32>>:
8  (dynamic, shape) = pair
9  Some{Shape.dimensions(shape)}

Uses (8)

Used by (7)