Thrown when an argument's value is out of what the op accepts — a negative size, a step of zero, a probability outside [0, 1], a group count that does not divide the channels.
The caller passed the right types and shapes and a value that cannot be
right. Mapped to lucid._C.engine.InvalidArgument, which derives from
LucidError and the built-in ValueError: the same kind of refusal
raised ValueError from Python and a bare LucidError from the
engine, so neither except caught both.
Parameters
msgstd::stringFully formatted message; passed through unchanged to the
LucidError base.Constructors
1ctor
InvalidArgument
void InvalidArgument(int msg)Construct an InvalidArgument from the call site's message naming the argument and the value it was given.