#[repr(u32)]
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 ==
.