Crate concision_core

Source

Re-exports§

pub use self::error::Error;
pub use self::error::ErrorKind;
pub use self::error::PredictError;
pub use self::nn::Module;
pub use self::init::Initialize;
pub use self::init::InitializeExt;
pub use super::propagate::Propagate;
pub use super::shape::ModelShape;
pub use super::NdResult;
pub use super::Result;
pub use super::num::*;
pub use super::ops::*;
pub use super::predict::*;
pub use super::setup::*;
pub use super::train::*;

Modules§

consts
error
func
Functional
init
Initialization
math
Mathematics
nn
ops
Operations
prelude
traits
types
utils

Macros§

builder
dimensional
AS
getters
toggle

Constants§

D_MODEL
The default model size for any given model
EPSILON
The default epsilon value for floating point operations

Traits§

Affine
ArrayLike
Decrement
Decrement generally describes an object capable of decrementing itself;
DefaultLike
Entry
FillLike
Increment
IntoAxis
Inverse
IsSquare
MaskFill
This trait is used to fill an array with a value based on a mask. The mask is a boolean array of the same shape as the array.
Matmul
Matpow
NdLike
OfType
OnesLike
OrInsert
Sequence
A trait for sequential data structures; This trait is implemented for iterators that have a known length.
SequenceIter
Store
Toggle
Unsqueeze
ZerosLike

Functions§

concat_iter
Creates an n-dimensional array from an iterator of n dimensional arrays.
floor_div
genspace
hstack
inverse
linarr
linspace
rangespace
creates a matrix from the given shape filled with numerical elements [0, n) spaced evenly by 1
round_to
Round the given value to the given number of decimal places.
stack_iter
Creates a larger array from an iterator of smaller arrays.
tril
Returns the lower triangular portion of a matrix.
triu
Returns the upper triangular portion of a matrix.
vstack

Type Aliases§

BoxError
A type alias for a boxed Error type that is Send, Sync, and 'static.
BoxResult
A type alias for a boxed Result which returns some object, T, and uses a BoxError as the error type.