def after_dimensions_pair

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

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

62def after_dimensions_pair(+shape: Shape.Shape,
63  pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>) -> Maybe<&2, List<&2, U32>>:
64  (tensor, result) = pair
65  dimensions_pair(Core.shape(Core.pack(shape, tensor)))

Uses (13)

Used by (3)