numr 0.16.0

Numerical computing and tensor library for Rust, in the role of NumPy: n-dimensional arrays, linear algebra, FFT, statistics and autograd on CPU, CUDA and WebGPU
Documentation
//! Operation traits for tensor operations.
//!
//! This module contains trait definitions for various tensor operations.
//! Implementations are in the backend-specific modules (cpu/, cuda/, wgpu/).

mod activation;
mod advanced_random;
mod binary;
mod color;
mod color_packed;
mod color_spec;
mod compare;
mod complex;
mod conditional;
mod conv;
mod conv_fused;
mod correctly_rounded;
mod cumulative;
mod distance;
mod einsum;
mod expansion;
mod fp8_matmul;
mod fwht;
mod gemm_epilogue;
mod grouped_matmul;
mod host_copy;
mod hypot;
mod image;
mod image_resize;
mod indexing;
mod interval;
mod interval_operand;
mod kernel;
mod linalg;
mod logical;
mod matmul;
mod midpoint;
pub mod multivariate;
mod next_representable;
mod normalization;
mod quasirandom;
mod random;
mod reduce;
mod scalar;
mod semiring_matmul;
mod shape;
mod sorting;
#[cfg(feature = "sparse")]
mod sparse_24;
mod statistics;
mod tensor_ops;
mod two_sum;
mod type_conversion;
mod unary;
mod utility;

pub use activation::ActivationOps;
pub use advanced_random::AdvancedRandomOps;
pub use binary::BinaryOps;
pub use color::ColorOps;
pub use color_packed::PackedPlane;
pub use color_spec::{ChromaSiting, ColorMatrix, ColorRange, YuvPlanes, YuvSpec};
pub use compare::CompareOps;
pub use complex::ComplexOps;
pub use conditional::ConditionalOps;
pub use conv::{ConvOps, PaddingMode};
pub use conv_fused::{
    Conv2dConfig, ConvAccumulation, ConvActivation, ConvLayout, ConvResidual, FusedConvOps,
};
pub use correctly_rounded::{CorrectlyRoundedOps, require_correctly_rounded_contracts};
pub use cumulative::CumulativeOps;
pub use distance::{DistanceMetric, DistanceOps};
pub use einsum::EinsumOps;
pub use expansion::ExpansionOps;
pub use fp8_matmul::Fp8MatmulOps;
pub use fwht::FwhtOps;
pub use gemm_epilogue::{GemmActivation, GemmEpilogueOps};
pub use grouped_matmul::GroupedMatmulOps;
pub use host_copy::HostCopyOps;
pub use hypot::HypotOps;
pub use image::{ImageOps, NearestSize};
pub use image_resize::{ResizeConfig, ResizeFilter};
pub use indexing::{IndexingOps, ScatterReduceOp};
pub use interval::IntervalOps;
pub use interval_operand::{
    ExpansionOperand, ExpansionTriple, IntervalEnclosure, IntervalOperand, IntervalPair,
};
pub use kernel::Kernel;
pub use linalg::LinalgOps;
pub use logical::LogicalOps;
pub use matmul::MatmulOps;
pub use midpoint::MidpointOps;
pub use multivariate::MultivariateRandomOps;
pub use next_representable::NextRepresentableOps;
pub use normalization::NormalizationOps;
pub use quasirandom::QuasiRandomOps;
pub use random::RandomOps;
pub use reduce::ReduceOps;
pub use scalar::ScalarOps;
pub use semiring_matmul::SemiringMatmulOps;
pub use shape::{PadMode, ShapeOps};
pub use sorting::SortingOps;
#[cfg(feature = "sparse")]
pub use sparse_24::Sparse24Ops;
pub use statistics::StatisticalOps;
pub use tensor_ops::TensorOps;
pub use two_sum::TwoSumOps;
pub use type_conversion::TypeConversionOps;
pub use unary::UnaryOps;
pub use utility::{MeshgridIndexing, UtilityOps};