(tensors, image) -> scalar: loss of one image under basis’s circuit.
The tensors are an argument, not read from the basis, so the result is
what a trainer differentiates. The basis supplies the circuit only.
- Parameters:
loss (AbstractLoss)
- Return type:
Callable[[list[Array], Array], Array]