Skip to main content

sum

Macro sum 

Source
macro_rules! sum {
    ($array:expr) => { ... };
    ($array:expr, stream = $stream:expr) => { ... };
    ($array:expr, keep_dims = $keep_dims:expr) => { ... };
    ($array:expr, keep_dims = $keep_dims:expr, stream = $stream:expr) => { ... };
}
👎Deprecated since 0.26.0:

use with_stream or with_device around sum

Expand description

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