Enum tensorflow::AttrType
source · pub enum AttrType {
UnrecognizedEnumValue(c_uint),
String,
Int,
Float,
Bool,
Type,
Shape,
Tensor,
Placeholder,
Func,
}
Expand description
Describes the type of the value of an attribute on an operation.
Variants§
UnrecognizedEnumValue(c_uint)
Represents an unrecognized value.
This allows such values to come from the C API and be sent back to the C API without loss in case new values are added in the future.
String
Int
Float
Bool
Type
Shape
Tensor
Placeholder
Func
Trait Implementations§
source§impl Ord for AttrType
impl Ord for AttrType
source§impl PartialEq<AttrType> for AttrType
impl PartialEq<AttrType> for AttrType
source§impl PartialOrd<AttrType> for AttrType
impl PartialOrd<AttrType> for AttrType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AttrType
impl Eq for AttrType
impl StructuralEq for AttrType
impl StructuralPartialEq for AttrType
Auto Trait Implementations§
impl RefUnwindSafe for AttrType
impl Send for AttrType
impl Sync for AttrType
impl Unpin for AttrType
impl UnwindSafe for 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