[−][src]Struct tensorflow::BFloat16
BFloat16 provides a Rust type for BFloat16.
Trait Implementations
impl TensorType for BFloat16
[src]
type InnerType = TensorDataCRepr<BFloat16>
fn data_type() -> DataType
[src]
fn zero() -> Self
[src]
fn one() -> Self
[src]
fn is_repr_c() -> bool
[src]
fn unpack(_data: &[u8], _count: usize) -> Result<Vec<Self>>
[src]
fn packed_size(_data: &[Self]) -> usize
[src]
fn pack(_data: &[Self], _buffer: &mut [u8]) -> Result<()>
[src]
impl Into<f32> for BFloat16
[src]
impl PartialOrd<BFloat16> for BFloat16
[src]
fn partial_cmp(&self, other: &BFloat16) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Copy for BFloat16
[src]
impl PartialEq<BFloat16> for BFloat16
[src]
fn eq(&self, other: &BFloat16) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Default for BFloat16
[src]
impl From<f32> for BFloat16
[src]
impl Clone for BFloat16
[src]
fn clone(&self) -> BFloat16
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for BFloat16
[src]
impl Debug for BFloat16
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,