def clone_first_value_pair

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

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

233def clone_first_value_pair(-shape: Shape.Shape, +other: U32, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, F32>:
234  (first, second) = pair
235  Core.read_value(shape, Core.read_flat(shape, first, other))

Uses (9)

Used by (3)