[−][src]Struct tract_core::prelude::f16
Trait Implementations
impl<'_> Add<&'_ f16> for f16
[src]
type Output = f16
The resulting type after applying the +
operator.
pub fn add(self, other: &f16) -> f16
[src]
impl Add<f16> for f16
[src]
type Output = f16
The resulting type after applying the +
operator.
pub fn add(self, other: f16) -> f16
[src]
impl AddAssign<f16> for f16
[src]
pub fn add_assign(&mut self, other: f16)
[src]
impl AsPrimitive<f16> for f16
[src]
impl AsPrimitive<f32> for f16
[src]
impl AsPrimitive<f64> for f16
[src]
impl AsPrimitive<i16> for f16
[src]
impl AsPrimitive<i32> for f16
[src]
impl AsPrimitive<i64> for f16
[src]
impl AsPrimitive<i8> for f16
[src]
impl AsPrimitive<isize> for f16
[src]
impl AsPrimitive<u16> for f16
[src]
impl AsPrimitive<u32> for f16
[src]
impl AsPrimitive<u64> for f16
[src]
impl AsPrimitive<u8> for f16
[src]
impl AsPrimitive<usize> for f16
[src]
impl Bounded for f16
[src]
impl Clone for f16
[src]
impl Copy for f16
[src]
impl Datum for f16
[src]
impl Debug for f16
[src]
impl Default for f16
[src]
impl Display for f16
[src]
impl<'_> Div<&'_ f16> for f16
[src]
type Output = f16
The resulting type after applying the /
operator.
pub fn div(self, other: &f16) -> f16
[src]
impl Div<f16> for f16
[src]
type Output = f16
The resulting type after applying the /
operator.
pub fn div(self, other: f16) -> f16
[src]
impl DivAssign<f16> for f16
[src]
pub fn div_assign(&mut self, other: f16)
[src]
impl Float for f16
[src]
pub fn floor(self) -> f16
[src]
pub fn ceil(self) -> f16
[src]
pub fn round(self) -> f16
[src]
pub fn trunc(self) -> f16
[src]
pub fn fract(self) -> f16
[src]
pub fn abs(self) -> f16
[src]
pub fn recip(self) -> f16
[src]
pub fn sqrt(self) -> f16
[src]
pub fn exp(self) -> f16
[src]
pub fn exp2(self) -> f16
[src]
pub fn ln(self) -> f16
[src]
pub fn log2(self) -> f16
[src]
pub fn log10(self) -> f16
[src]
pub fn cbrt(self) -> f16
[src]
pub fn sin(self) -> f16
[src]
pub fn cos(self) -> f16
[src]
pub fn tan(self) -> f16
[src]
pub fn sinh(self) -> f16
[src]
pub fn cosh(self) -> f16
[src]
pub fn tanh(self) -> f16
[src]
pub fn asin(self) -> f16
[src]
pub fn acos(self) -> f16
[src]
pub fn atan(self) -> f16
[src]
pub fn asinh(self) -> f16
[src]
pub fn acosh(self) -> f16
[src]
pub fn atanh(self) -> f16
[src]
pub fn exp_m1(self) -> f16
[src]
pub fn ln_1p(self) -> f16
[src]
pub fn classify(self) -> FpCategory
[src]
pub fn is_nan(self) -> bool
[src]
pub fn is_infinite(self) -> bool
[src]
pub fn is_finite(self) -> bool
[src]
pub fn is_normal(self) -> bool
[src]
pub fn is_sign_positive(self) -> bool
[src]
pub fn is_sign_negative(self) -> bool
[src]
pub fn powf(self, other: f16) -> f16
[src]
pub fn log(self, other: f16) -> f16
[src]
pub fn max(self, other: f16) -> f16
[src]
pub fn min(self, other: f16) -> f16
[src]
pub fn abs_sub(self, other: f16) -> f16
[src]
pub fn hypot(self, other: f16) -> f16
[src]
pub fn atan2(self, other: f16) -> f16
[src]
pub fn nan() -> f16
[src]
pub fn infinity() -> f16
[src]
pub fn neg_infinity() -> f16
[src]
pub fn neg_zero() -> f16
[src]
pub fn max_value() -> f16
[src]
pub fn min_value() -> f16
[src]
pub fn min_positive_value() -> f16
[src]
pub fn signum(self) -> f16
[src]
pub fn mul_add(self, a: f16, b: f16) -> f16
[src]
pub fn powi(self, i: i32) -> f16
[src]
pub fn sin_cos(self) -> (f16, f16)
[src]
pub fn integer_decode(self) -> (u64, i16, i8)
[src]
pub fn epsilon() -> Self
[src]
pub fn to_degrees(self) -> Self
[src]
pub fn to_radians(self) -> Self
[src]
impl From<f16> for Tensor
[src]
impl From<f32> for f16
[src]
impl FromStr for f16
[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<f16, <f16 as FromStr>::Err>
[src]
impl<'_> Mul<&'_ f16> for f16
[src]
type Output = f16
The resulting type after applying the *
operator.
pub fn mul(self, other: &f16) -> f16
[src]
impl Mul<f16> for f16
[src]
type Output = f16
The resulting type after applying the *
operator.
pub fn mul(self, other: f16) -> f16
[src]
impl Neg for f16
[src]
impl Num for f16
[src]
type FromStrRadixErr = <f32 as Num>::FromStrRadixErr
pub 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 NumCast for f16
[src]
pub fn from<T>(n: T) -> Option<f16> where
T: ToPrimitive,
[src]
T: ToPrimitive,
impl One for f16
[src]
pub fn one() -> f16
[src]
pub fn set_one(&mut self)
[src]
pub fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
impl PartialEq<f16> for f16
[src]
impl PartialOrd<f16> for f16
[src]
pub fn partial_cmp(&self, other: &f16) -> Option<Ordering>
[src]
pub fn lt(&self, other: &f16) -> bool
[src]
pub fn le(&self, other: &f16) -> bool
[src]
pub fn gt(&self, other: &f16) -> bool
[src]
pub fn ge(&self, other: &f16) -> bool
[src]
impl<'_> Rem<&'_ f16> for f16
[src]
type Output = f16
The resulting type after applying the %
operator.
pub fn rem(self, other: &f16) -> f16
[src]
impl Rem<f16> for f16
[src]
type Output = f16
The resulting type after applying the %
operator.
pub fn rem(self, other: f16) -> f16
[src]
impl Signed for f16
[src]
pub fn abs(&self) -> f16
[src]
pub fn abs_sub(&self, other: &f16) -> f16
[src]
pub fn signum(&self) -> f16
[src]
pub fn is_positive(&self) -> bool
[src]
pub fn is_negative(&self) -> bool
[src]
impl SloppyHash for f16
[src]
pub fn sloppy_hash<S: Hasher>(&self, state: &mut S)
[src]
impl StructuralPartialEq for f16
[src]
impl<'_> Sub<&'_ f16> for f16
[src]
type Output = f16
The resulting type after applying the -
operator.
pub fn sub(self, other: &f16) -> f16
[src]
impl Sub<f16> for f16
[src]
type Output = f16
The resulting type after applying the -
operator.
pub fn sub(self, other: f16) -> f16
[src]
impl<'a> Sum<&'a f16> for f16
[src]
impl Sum<f16> for f16
[src]
impl ToPrimitive for f16
[src]
pub fn to_i64(&self) -> Option<i64>
[src]
pub fn to_u64(&self) -> Option<u64>
[src]
pub fn to_isize(&self) -> Option<isize>
[src]
pub fn to_i8(&self) -> Option<i8>
[src]
pub fn to_i16(&self) -> Option<i16>
[src]
pub fn to_i32(&self) -> Option<i32>
[src]
pub fn to_i128(&self) -> Option<i128>
[src]
pub fn to_usize(&self) -> Option<usize>
[src]
pub fn to_u8(&self) -> Option<u8>
[src]
pub fn to_u16(&self) -> Option<u16>
[src]
pub fn to_u32(&self) -> Option<u32>
[src]
pub fn to_u128(&self) -> Option<u128>
[src]
pub fn to_f32(&self) -> Option<f32>
[src]
pub fn to_f64(&self) -> Option<f64>
[src]
impl Zero for f16
[src]
Auto Trait Implementations
impl RefUnwindSafe for f16
[src]
impl Send for f16
[src]
impl Sync for f16
[src]
impl Unpin for f16
[src]
impl UnwindSafe for f16
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
[src]
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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> NumRef for T where
T: Num + for<'r> NumOps<&'r T, T>,
[src]
T: Num + for<'r> NumOps<&'r T, T>,
impl<T> Real for T where
T: Float,
[src]
T: Float,
pub fn min_value() -> T
[src]
pub fn min_positive_value() -> T
[src]
pub fn epsilon() -> T
[src]
pub fn max_value() -> T
[src]
pub fn floor(self) -> T
[src]
pub fn ceil(self) -> T
[src]
pub fn round(self) -> T
[src]
pub fn trunc(self) -> T
[src]
pub fn fract(self) -> T
[src]
pub fn abs(self) -> T
[src]
pub fn signum(self) -> T
[src]
pub fn is_sign_positive(self) -> bool
[src]
pub fn is_sign_negative(self) -> bool
[src]
pub fn mul_add(self, a: T, b: T) -> T
[src]
pub fn recip(self) -> T
[src]
pub fn powi(self, n: i32) -> T
[src]
pub fn powf(self, n: T) -> T
[src]
pub fn sqrt(self) -> T
[src]
pub fn exp(self) -> T
[src]
pub fn exp2(self) -> T
[src]
pub fn ln(self) -> T
[src]
pub fn log(self, base: T) -> T
[src]
pub fn log2(self) -> T
[src]
pub fn log10(self) -> T
[src]
pub fn to_degrees(self) -> T
[src]
pub fn to_radians(self) -> T
[src]
pub fn max(self, other: T) -> T
[src]
pub fn min(self, other: T) -> T
[src]
pub fn abs_sub(self, other: T) -> T
[src]
pub fn cbrt(self) -> T
[src]
pub fn hypot(self, other: T) -> T
[src]
pub fn sin(self) -> T
[src]
pub fn cos(self) -> T
[src]
pub fn tan(self) -> T
[src]
pub fn asin(self) -> T
[src]
pub fn acos(self) -> T
[src]
pub fn atan(self) -> T
[src]
pub fn atan2(self, other: T) -> T
[src]
pub fn sin_cos(self) -> (T, T)
[src]
pub fn exp_m1(self) -> T
[src]
pub fn ln_1p(self) -> T
[src]
pub fn sinh(self) -> T
[src]
pub fn cosh(self) -> T
[src]
pub fn tanh(self) -> T
[src]
pub fn asinh(self) -> T
[src]
pub fn acosh(self) -> T
[src]
pub fn atanh(self) -> T
[src]
impl<T, Base> RefNum<Base> for T where
T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,
[src]
T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,