def natural_conversion_error

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

import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
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

203def natural_conversion_error(-shape: Shape.Shape, -cursor: Nat, state: State<shape>) -> NaturalStep<shape, cursor>:
204  State{left, right, output} = state
205  NaturalStop{left, right, Core.StorageError{Storage.InvalidIndex{}}}

Uses (6)

Used by (1)