def written_value_pair

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

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

100def written_value_pair(-shape: Shape.Shape, +other: U32, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) ->
101  Maybe<&2, F32>:
102  (tensor, result) = pair
103  Core.read_value(shape, Core.read_flat(shape, tensor, other))

Uses (12)

Used by (7)