Enum tensorflow_sys::TF_AttrType
source · #[repr(i32)]pub enum TF_AttrType {
TF_ATTR_STRING,
TF_ATTR_INT,
TF_ATTR_FLOAT,
TF_ATTR_BOOL,
TF_ATTR_TYPE,
TF_ATTR_SHAPE,
TF_ATTR_TENSOR,
TF_ATTR_PLACEHOLDER,
TF_ATTR_FUNC,
}
Variants§
TF_ATTR_STRING
TF_ATTR_INT
TF_ATTR_FLOAT
TF_ATTR_BOOL
TF_ATTR_TYPE
TF_ATTR_SHAPE
TF_ATTR_TENSOR
TF_ATTR_PLACEHOLDER
TF_ATTR_FUNC
Trait Implementations§
source§impl Clone for TF_AttrType
impl Clone for TF_AttrType
source§fn clone(&self) -> TF_AttrType
fn clone(&self) -> TF_AttrType
Returns a copy 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 TF_AttrType
impl Debug for TF_AttrType
source§impl Hash for TF_AttrType
impl Hash for TF_AttrType
source§impl PartialEq<TF_AttrType> for TF_AttrType
impl PartialEq<TF_AttrType> for TF_AttrType
source§fn eq(&self, other: &TF_AttrType) -> bool
fn eq(&self, other: &TF_AttrType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TF_AttrType
impl Eq for TF_AttrType
impl StructuralEq for TF_AttrType
impl StructuralPartialEq for TF_AttrType
Auto Trait Implementations§
impl RefUnwindSafe for TF_AttrType
impl Send for TF_AttrType
impl Sync for TF_AttrType
impl Unpin for TF_AttrType
impl UnwindSafe for TF_AttrType
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