def after_value_pair

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

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

36def after_value_pair(-shape: Shape.Shape, +other: U32,
37  pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>) -> Maybe<&2, F32>:
38  (tensor, result) = pair
39  Core.read_value(shape, Core.read_flat(shape, tensor, other))

Uses (11)

Used by (4)