def write_stored

bendtorch-core@0.1.0.0 · src/tensor/contracts/replayed.bend:33

import bendtorch-core@0.1.0.0/src/tensor/contracts/replayed.bend as Replayed
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/storage/main.bend as Storage
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

33def write_stored(-shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) -> Storage.Storage:
34  (tensor, result) = pair
35  stored(shape, tensor)

Uses (9)

Used by (3)