pub enum TensorDtype {
Float32,
Float64,
Float16,
Int32,
Int64,
Uint8,
Utf8,
}Variants§
Implementations§
Source§impl TensorDtype
impl TensorDtype
Trait Implementations§
Source§impl Clone for TensorDtype
impl Clone for TensorDtype
Source§fn clone(&self) -> TensorDtype
fn clone(&self) -> TensorDtype
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorDtype
impl Debug for TensorDtype
Source§impl<'de> Deserialize<'de> for TensorDtype
impl<'de> Deserialize<'de> for TensorDtype
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TensorDtype
impl Display for TensorDtype
Source§impl FromStr for TensorDtype
impl FromStr for TensorDtype
Source§impl Hash for TensorDtype
impl Hash for TensorDtype
Source§impl PartialEq for TensorDtype
impl PartialEq for TensorDtype
Source§impl Serialize for TensorDtype
impl Serialize for TensorDtype
impl Copy for TensorDtype
impl Eq for TensorDtype
impl StructuralPartialEq for TensorDtype
Auto Trait Implementations§
impl Freeze for TensorDtype
impl RefUnwindSafe for TensorDtype
impl Send for TensorDtype
impl Sync for TensorDtype
impl Unpin for TensorDtype
impl UnsafeUnpin for TensorDtype
impl UnwindSafe for TensorDtype
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more