def length_owner_value_pair

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

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

363def length_owner_value_pair(-shape: Shape.Shape, +other: U32, pair: Core.Tensor<shape> & Nat) -> Maybe<&2, F32>:
364  (tensor, n) = pair
365  Core.read_value(shape, Core.read_flat(shape, tensor, other))

Uses (10)

Used by (3)