def write_observe

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

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

570def write_observe(-shape: Shape.Shape, pair: Tensor<shape> & Result<&2, &2, Error, Unit>, index: U32) -> Maybe<&2, F32>:
571  (tensor, result) = pair
572  observe(shape, tensor, index)

Uses (11)

Used by (4)