Shape mismatch error for tensor operations.
Contains detailed information about the shape mismatch including which dimension differs and what the expected vs actual values were.
@type t() :: %Snakepit.Error.ShapeMismatch{ __exception__: true, dimension: non_neg_integer() | nil, expected: [integer()] | nil, expected_dim: integer() | nil, got: [integer()] | nil, got_dim: integer() | nil, message: String.t(), operation: String.t() | nil }