Macro burn_tensor::check
source · macro_rules! check { ($check:expr) => { ... }; }
Expand description
We use a macro for all checks, since the panic message file and line number will match the function that does the check instead of a the generic error.rs crate private unrelated file and line number.