def ce_shaped
import bendtorch-core@0.1.0.0/src/autograd/loss.bend as Lossimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
411def ce_shaped(+targets: List<&2, U32>, pair: Core.Dynamic & Shape.Shape) -> Core.Dynamic & Result<&2, &1, Error, Recorded>:
412 (logits, +shape) = pair
413 ce_dimensioned(logits, targets, Shape.dimensions(shape))