cat_with_dtype

Macro cat_with_dtype 

Source
macro_rules! cat_with_dtype {
    ($tensors: expr, $dim: expr, [$($dtype: ident),*]) => { ... };
}
Expand description

Macro to execute an cat operation on a given set of element types.

ยงPanics

Since there is no automatic type cast at this time, binary operations for different floating point precision data types will panic with a data type mismatch.