def retained_read_observe

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

import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

207def retained_read_observe(-shape: Shape.Shape, pair: Tensor<shape> & Result<&2, &2, Error, F32>, index: U32) -> Maybe<&2, F32>:
208  (tensor, result) = pair
209  checked_observe(shape, tensor, index)

Uses (10)

Used by (12)