type Write

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

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

287type Write<-shape: Shape.Shape, -original: Tensor<shape>, -index: U32, -value: F32> is Type:
288  Write{tensor: Tensor<shape>, result: Result<&2, &2, Error, Unit>,
289    exact: {(tensor, result) == write_flat(shape, original, index, value) : Tensor<shape> & Result<&2, &2, Error, Unit>}}

Uses (10)

Used by (7)