def clone_second_dimensions_pair

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

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

281def clone_second_dimensions_pair(+shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, List<&2, U32>>:
282  (first, second) = pair
283  dimensions_pair(Core.shape(Core.pack(shape, second)))

Uses (10)

Used by (2)