The call violates the API contract.
Thrown for a non-square view where a square one is required, mismatched batch sizes, a span too short for the batch, a negative dimension, a null or non-USM pointer, an out-of-order Queue where an in-order one is required, or an enum value with no meaning here.
Not retryable: fix the call. Derives from std::invalid_argument, which pybind11 maps to Python's ValueError.
#include <batchlas/error.hh>
|
inlineexplicit |