Skip to main content

flatten

Macro flatten 

Source
macro_rules! flatten {
    ($a:expr) => { ... };
    ($a:expr, stream = $stream:expr) => { ... };
    ($a:expr, start_axis = $start_axis:expr) => { ... };
    ($a:expr, start_axis = $start_axis:expr, stream = $stream:expr) => { ... };
    ($a:expr, end_axis = $end_axis:expr) => { ... };
    ($a:expr, end_axis = $end_axis:expr, stream = $stream:expr) => { ... };
    ($a:expr, start_axis = $start_axis:expr, end_axis = $end_axis:expr) => { ... };
    (
        $a:expr, start_axis = $start_axis:expr, end_axis = $end_axis:expr,
        stream = $stream:expr
    ) => { ... };
    ($a:expr, start_axis = $start_axis:expr, end_axis = $end_axis:expr) => { ... };
    (
        $a:expr, start_axis = $start_axis:expr, end_axis = $end_axis:expr,
        stream = $stream:expr
    ) => { ... };
}
👎Deprecated since 0.26.0:

use with_stream or with_device around flatten

Expand description

Macro generated for the function crate::ops::flatten. See the function documentation for more details.