1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#[macro_use]
extern crate educe;
#[macro_use]
pub extern crate itertools;
#[macro_use]
mod macros;
pub type TVec<T> = smallvec::SmallVec<[T; 4]>;
pub mod prelude {
pub use crate::datum::{round_ties_to_even, Blob, Datum, DatumType, QParams};
pub use crate::dim::{Symbol, SymbolValues, TDim, ToDim};
pub use crate::f16::*;
pub use crate::tensor::litteral::*;
pub use crate::tensor::{natural_strides, IntoArcTensor, IntoTensor, Tensor};
pub use crate::tvec;
pub use crate::TVec;
pub use crate::{
dispatch_copy, dispatch_copy_by_size, dispatch_datum, dispatch_datum_by_size,
dispatch_floatlike, dispatch_hash, dispatch_numbers, dispatch_signed,
};
pub use itertools as tract_itertools;
}
pub mod internal {
pub use crate::datum::ClampCast;
pub use crate::dim::{DimLike, TDim, ToDim};
pub use crate::prelude::*;
pub use crate::tensor::view::TensorView;
pub use ndarray as tract_ndarray;
pub use smallvec as tract_smallvec;
}
pub use anyhow;
pub use dim::UndeterminedSymbol;
mod datum;
mod dim;
mod f16;
mod scatter;
mod tensor;