Skip to main content

norm

Macro norm 

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

use with_stream or with_device around norm with NormOptions

Expand description

Macro generated for the function crate::linalg::norm. See the function documentation for more details.