def write_dynamic

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

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

558def write_dynamic(dynamic: Dynamic, index: U32, value: F32) -> Dynamic & Result<&2, &2, Error, Unit>:
559  Packed{+shape, tensor} = dynamic
560  write_dynamic_result(shape, write_flat(shape, tensor, index, value))

Uses (9)

Used by (1)