Device mismatch error for tensor operations.
Raised when tensors on different devices are used in an operation that requires them to be on the same device.
Summary
Types
@type device() :: :cpu | :mps | {:cuda, non_neg_integer()} | {:rocm, non_neg_integer()}