def conversion_error

bendtorch-core@0.1.0.0 · src/autograd/gradient.bend:73

import bendtorch-core@0.1.0.0/src/autograd/gradient.bend as Gradient
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

73def conversion_error(+shape: Shape.Shape, state: State<shape>) -> Outcome:
74  State{contribution, total} = state
75  Refused{Held{Core.Packed{shape, total}}, contribution, TensorError{Core.StorageError{Storage.InvalidIndex{}}}}

Uses (8)

Used by (3)