Skip to content

Commit

Permalink
Move left over piece of Norm documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-berg committed Apr 21, 2024
1 parent d1ed0a2 commit 594caac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/ops/norm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ pub trait TensorBase:
}


/// Calculate norms of a tensor.
/// [`TensorBase`] combined with basic mathematical operations.
pub trait TensorOp =
where
Expand Down

0 comments on commit 594caac

Please sign in to comment.