Macro burn::tensor::make_element

macro_rules! make_element {
    (
        ty $type:ident $precision:expr,
        convert $convert:expr,
        random $random:expr,
        cmp $cmp:expr,
        dtype $dtype:expr

    ) => { ... };
}
Expand description

Macro to implement the element trait for a type.