Struct tract_hir::prelude::f16 [−]
Trait Implementations
impl<'_> Add<&'_ f16> for f16
type Output = f16
The resulting type after applying the +
operator.
pub fn add(self, other: &f16) -> f16
impl Add<f16> for f16
type Output = f16
The resulting type after applying the +
operator.
pub fn add(self, other: f16) -> f16
impl AddAssign<f16> for f16
pub fn add_assign(&mut self, other: f16)
impl AsPrimitive<f16> for f16
impl AsPrimitive<f16> for i64
impl AsPrimitive<f16> for i8
impl AsPrimitive<f16> for i16
impl AsPrimitive<f16> for u16
impl AsPrimitive<f16> for f32
impl AsPrimitive<f16> for usize
impl AsPrimitive<f16> for isize
impl AsPrimitive<f16> for f64
impl AsPrimitive<f16> for u64
impl AsPrimitive<f16> for u32
impl AsPrimitive<f16> for i32
impl AsPrimitive<f16> for u8
impl AsPrimitive<f32> for f16
impl AsPrimitive<f64> for f16
impl AsPrimitive<i16> for f16
impl AsPrimitive<i32> for f16
impl AsPrimitive<i64> for f16
impl AsPrimitive<i8> for f16
impl AsPrimitive<isize> for f16
impl AsPrimitive<u16> for f16
impl AsPrimitive<u32> for f16
impl AsPrimitive<u64> for f16
impl AsPrimitive<u8> for f16
impl AsPrimitive<usize> for f16
impl Bounded for f16
impl Clone for f16
pub fn clone(&self) -> f16
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for f16
impl Datum for f16
pub fn name() -> &'static str
pub fn datum_type() -> DatumType
impl Debug for f16
impl Default for f16
impl Display for f16
impl<'_> Div<&'_ f16> for f16
type Output = f16
The resulting type after applying the /
operator.
pub fn div(self, other: &f16) -> f16
impl Div<f16> for f16
type Output = f16
The resulting type after applying the /
operator.
pub fn div(self, other: f16) -> f16
impl DivAssign<f16> for f16
pub fn div_assign(&mut self, other: f16)
impl Float for f16
pub fn floor(self) -> f16
pub fn ceil(self) -> f16
pub fn round(self) -> f16
pub fn trunc(self) -> f16
pub fn fract(self) -> f16
pub fn abs(self) -> f16
pub fn recip(self) -> f16
pub fn sqrt(self) -> f16
pub fn exp(self) -> f16
pub fn exp2(self) -> f16
pub fn ln(self) -> f16
pub fn log2(self) -> f16
pub fn log10(self) -> f16
pub fn cbrt(self) -> f16
pub fn sin(self) -> f16
pub fn cos(self) -> f16
pub fn tan(self) -> f16
pub fn sinh(self) -> f16
pub fn cosh(self) -> f16
pub fn tanh(self) -> f16
pub fn asin(self) -> f16
pub fn acos(self) -> f16
pub fn atan(self) -> f16
pub fn asinh(self) -> f16
pub fn acosh(self) -> f16
pub fn atanh(self) -> f16
pub fn exp_m1(self) -> f16
pub fn ln_1p(self) -> f16
pub fn classify(self) -> FpCategory
pub fn is_nan(self) -> bool
pub fn is_infinite(self) -> bool
pub fn is_finite(self) -> bool
pub fn is_normal(self) -> bool
pub fn is_sign_positive(self) -> bool
pub fn is_sign_negative(self) -> bool
pub fn powf(self, other: f16) -> f16
pub fn log(self, other: f16) -> f16
pub fn max(self, other: f16) -> f16
pub fn min(self, other: f16) -> f16
pub fn abs_sub(self, other: f16) -> f16
pub fn hypot(self, other: f16) -> f16
pub fn atan2(self, other: f16) -> f16
pub fn nan() -> f16
pub fn infinity() -> f16
pub fn neg_infinity() -> f16
pub fn neg_zero() -> f16
pub fn max_value() -> f16
pub fn min_value() -> f16
pub fn min_positive_value() -> f16
pub fn signum(self) -> f16
pub fn mul_add(self, a: f16, b: f16) -> f16
pub fn powi(self, i: i32) -> f16
pub fn sin_cos(self) -> (f16, f16)
pub fn integer_decode(self) -> (u64, i16, i8)
pub fn epsilon() -> Self
[src]
pub fn to_degrees(self) -> Self
[src]
pub fn to_radians(self) -> Self
[src]
impl From<f16> for Tensor
impl From<f32> for f16
impl FromStr for f16
type Err = ParseFloatError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<f16, <f16 as FromStr>::Err>
impl<'_> Mul<&'_ f16> for f16
type Output = f16
The resulting type after applying the *
operator.
pub fn mul(self, other: &f16) -> f16
impl Mul<f16> for f16
type Output = f16
The resulting type after applying the *
operator.
pub fn mul(self, other: f16) -> f16
impl Neg for f16
impl Num for f16
type FromStrRadixErr = <f32 as Num>::FromStrRadixErr
pub fn from_str_radix(
str: &str,
radix: u32
) -> Result<f16, <f16 as Num>::FromStrRadixErr>
str: &str,
radix: u32
) -> Result<f16, <f16 as Num>::FromStrRadixErr>
impl NumCast for f16
pub fn from<T>(n: T) -> Option<f16> where
T: ToPrimitive,
T: ToPrimitive,
impl One for f16
pub fn one() -> f16
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
impl PartialOrd<f16> for f16
pub fn partial_cmp(&self, other: &f16) -> Option<Ordering>
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> Rem<&'_ f16> for f16
type Output = f16
The resulting type after applying the %
operator.
pub fn rem(self, other: &f16) -> f16
impl Rem<f16> for f16
type Output = f16
The resulting type after applying the %
operator.
pub fn rem(self, other: f16) -> f16
impl Signed for f16
pub fn abs(&self) -> f16
pub fn abs_sub(&self, other: &f16) -> f16
pub fn signum(&self) -> f16
pub fn is_positive(&self) -> bool
pub fn is_negative(&self) -> bool
impl SloppyHash for f16
[src]
pub fn sloppy_hash<S>(&self, state: &mut S) where
S: Hasher,
[src]
S: Hasher,
impl StructuralPartialEq for f16
impl<'_> Sub<&'_ f16> for f16
type Output = f16
The resulting type after applying the -
operator.
pub fn sub(self, other: &f16) -> f16
impl Sub<f16> for f16
type Output = f16
The resulting type after applying the -
operator.
pub fn sub(self, other: f16) -> f16
impl<'a> Sum<&'a f16> for f16
impl Sum<f16> for f16
impl ToPrimitive for f16
pub fn to_i64(&self) -> Option<i64>
pub fn to_u64(&self) -> Option<u64>
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
Auto Trait Implementations
impl RefUnwindSafe for f16
impl Send for f16
impl Sync for f16
impl Unpin for f16
impl UnwindSafe for f16
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,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> Downcast for T where
T: Any,
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
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
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
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
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>,