[−][src]Struct tract_core::internal::f16
Trait Implementations
impl Add<f16> for f16
[src]
type Output = f16
The resulting type after applying the +
operator.
fn add(self, other: f16) -> f16
[src]
impl Clone for f16
[src]
fn clone(&self) -> f16
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Float for f16
[src]
fn floor(self) -> f16
[src]
fn ceil(self) -> f16
[src]
fn round(self) -> f16
[src]
fn trunc(self) -> f16
[src]
fn fract(self) -> f16
[src]
fn abs(self) -> f16
[src]
fn recip(self) -> f16
[src]
fn sqrt(self) -> f16
[src]
fn exp(self) -> f16
[src]
fn exp2(self) -> f16
[src]
fn ln(self) -> f16
[src]
fn log2(self) -> f16
[src]
fn log10(self) -> f16
[src]
fn cbrt(self) -> f16
[src]
fn sin(self) -> f16
[src]
fn cos(self) -> f16
[src]
fn tan(self) -> f16
[src]
fn sinh(self) -> f16
[src]
fn cosh(self) -> f16
[src]
fn tanh(self) -> f16
[src]
fn asin(self) -> f16
[src]
fn acos(self) -> f16
[src]
fn atan(self) -> f16
[src]
fn asinh(self) -> f16
[src]
fn acosh(self) -> f16
[src]
fn atanh(self) -> f16
[src]
fn exp_m1(self) -> f16
[src]
fn ln_1p(self) -> f16
[src]
fn classify(self) -> FpCategory
[src]
fn is_nan(self) -> bool
[src]
fn is_infinite(self) -> bool
[src]
fn is_finite(self) -> bool
[src]
fn is_normal(self) -> bool
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn powf(self, other: f16) -> f16
[src]
fn log(self, other: f16) -> f16
[src]
fn max(self, other: f16) -> f16
[src]
fn min(self, other: f16) -> f16
[src]
fn abs_sub(self, other: f16) -> f16
[src]
fn hypot(self, other: f16) -> f16
[src]
fn atan2(self, other: f16) -> f16
[src]
fn nan() -> f16
[src]
fn infinity() -> f16
[src]
fn neg_infinity() -> f16
[src]
fn neg_zero() -> f16
[src]
fn max_value() -> f16
[src]
fn min_value() -> f16
[src]
fn min_positive_value() -> f16
[src]
fn signum(self) -> f16
[src]
fn mul_add(self, a: f16, b: f16) -> f16
[src]
fn powi(self, i: i32) -> f16
[src]
fn sin_cos(self) -> (f16, f16)
[src]
fn integer_decode(self) -> (u64, i16, i8)
[src]
fn epsilon() -> Self
[src]
Returns epsilon, a small positive value. Read more
fn to_degrees(self) -> Self
[src]
Converts radians to degrees. Read more
fn to_radians(self) -> Self
[src]
Converts degrees to radians. Read more
impl FromStr for f16
[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<f16, <f16 as FromStr>::Err>
[src]
impl Sub<f16> for f16
[src]
type Output = f16
The resulting type after applying the -
operator.
fn sub(self, other: f16) -> f16
[src]
impl Rem<f16> for f16
[src]
type Output = f16
The resulting type after applying the %
operator.
fn rem(self, other: f16) -> f16
[src]
impl Default for f16
[src]
impl Display for f16
[src]
impl Zero for f16
[src]
impl Copy for f16
[src]
impl NumCast for f16
[src]
fn from<T>(n: T) -> Option<f16> where
T: ToPrimitive,
[src]
T: ToPrimitive,
impl One for f16
[src]
fn one() -> f16
[src]
fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
Returns true
if self
is equal to the multiplicative identity. Read more
impl Neg for f16
[src]
impl Bounded for f16
[src]
impl From<f32> for f16
[src]
impl PartialOrd<f16> for f16
[src]
fn partial_cmp(&self, other: &f16) -> Option<Ordering>
[src]
fn lt(&self, other: &f16) -> bool
[src]
fn le(&self, other: &f16) -> bool
[src]
fn gt(&self, other: &f16) -> bool
[src]
fn ge(&self, other: &f16) -> bool
[src]
impl ToPrimitive for f16
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
fn to_isize(&self) -> Option<isize>
[src]
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
[src]
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
[src]
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
[src]
Converts the value of self
to an i32
.
fn to_i128(&self) -> Option<i128>
[src]
Converts the value of self
to an i128
. Read more
fn to_usize(&self) -> Option<usize>
[src]
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
[src]
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
[src]
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
[src]
Converts the value of self
to an u32
.
fn to_u128(&self) -> Option<u128>
[src]
Converts the value of self
to an u128
. Read more
fn to_f32(&self) -> Option<f32>
[src]
Converts the value of self
to an f32
.
fn to_f64(&self) -> Option<f64>
[src]
Converts the value of self
to an f64
.
impl Debug for f16
[src]
impl Mul<f16> for f16
[src]
type Output = f16
The resulting type after applying the *
operator.
fn mul(self, other: f16) -> f16
[src]
impl PartialEq<f16> for f16
[src]
impl<'a> Sum<&'a f16> for f16
[src]
impl Sum<f16> for f16
[src]
impl Num for f16
[src]
type FromStrRadixErr = <f32 as Num>::FromStrRadixErr
fn from_str_radix(
str: &str,
radix: u32
) -> Result<f16, <f16 as Num>::FromStrRadixErr>
[src]
str: &str,
radix: u32
) -> Result<f16, <f16 as Num>::FromStrRadixErr>
impl Div<f16> for f16
[src]
type Output = f16
The resulting type after applying the /
operator.
fn div(self, other: f16) -> f16
[src]
impl AsPrimitive<f32> for f16
[src]
impl AsPrimitive<f64> for f16
[src]
impl AsPrimitive<usize> for f16
[src]
impl Datum for f16
[src]
impl FloatLike for f16
[src]
fn packed_direct_conv(
_m: usize,
_kernel_offsets: Vec<isize>,
_data_offsets: Vec<isize>
) -> Box<dyn Conv<Self>>
[src]
_m: usize,
_kernel_offsets: Vec<isize>,
_data_offsets: Vec<isize>
) -> Box<dyn Conv<Self>>
fn packed_mat_mul(_m: usize, _k: usize, _n: usize) -> Box<dyn MatMul<Self>>
[src]
fn packed_vec_mat_mul(_k: usize, _n: usize) -> Box<dyn VecMatMul<Self>>
[src]
impl From<f16> for Tensor
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> LinalgScalar for T where
T: One<Output = T> + Add<T, Output = T> + Sub<T, Output = T> + 'static + Mul<T> + Copy + Div<T, Output = T> + Zero,
[src]
T: One<Output = T> + Add<T, Output = T> + Sub<T, Output = T> + 'static + Mul<T> + Copy + Div<T, Output = T> + Zero,
impl<T> Real for T where
T: Float,
[src]
T: Float,
fn min_value() -> T
[src]
fn min_positive_value() -> T
[src]
fn epsilon() -> T
[src]
fn max_value() -> T
[src]
fn floor(self) -> T
[src]
fn ceil(self) -> T
[src]
fn round(self) -> T
[src]
fn trunc(self) -> T
[src]
fn fract(self) -> T
[src]
fn abs(self) -> T
[src]
fn signum(self) -> T
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn mul_add(self, a: T, b: T) -> T
[src]
fn recip(self) -> T
[src]
fn powi(self, n: i32) -> T
[src]
fn powf(self, n: T) -> T
[src]
fn sqrt(self) -> T
[src]
fn exp(self) -> T
[src]
fn exp2(self) -> T
[src]
fn ln(self) -> T
[src]
fn log(self, base: T) -> T
[src]
fn log2(self) -> T
[src]
fn log10(self) -> T
[src]
fn to_degrees(self) -> T
[src]
fn to_radians(self) -> T
[src]
fn max(self, other: T) -> T
[src]
fn min(self, other: T) -> T
[src]
fn abs_sub(self, other: T) -> T
[src]
fn cbrt(self) -> T
[src]
fn hypot(self, other: T) -> T
[src]
fn sin(self) -> T
[src]
fn cos(self) -> T
[src]
fn tan(self) -> T
[src]
fn asin(self) -> T
[src]
fn acos(self) -> T
[src]
fn atan(self) -> T
[src]
fn atan2(self, other: T) -> T
[src]
fn sin_cos(self) -> (T, T)
[src]
fn exp_m1(self) -> T
[src]
fn ln_1p(self) -> T
[src]
fn sinh(self) -> T
[src]
fn cosh(self) -> T
[src]
fn tanh(self) -> T
[src]
fn asinh(self) -> T
[src]
fn acosh(self) -> T
[src]
fn atanh(self) -> T
[src]
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,