From 594caac8918d5510bdef568e1adb6d3e3d648249 Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Sun, 21 Apr 2024 15:33:30 +0200 Subject: [PATCH] Move left over piece of `Norm` documentation --- src/ops/norm.rs | 1 + src/tensor.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ops/norm.rs b/src/ops/norm.rs index e0925e4..e82688e 100644 --- a/src/ops/norm.rs +++ b/src/ops/norm.rs @@ -4,6 +4,7 @@ use num_traits::real::Real; use crate::component::TensorComponent; +/// Calculate norms of a tensor. pub trait Norm { /// Output type of any norm method. type Output: TensorComponent; diff --git a/src/tensor.rs b/src/tensor.rs index c6e695d..51cc736 100644 --- a/src/tensor.rs +++ b/src/tensor.rs @@ -104,7 +104,6 @@ pub trait TensorBase: } -/// Calculate norms of a tensor. /// [`TensorBase`] combined with basic mathematical operations. pub trait TensorOp = where