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 PartialOrd for AttrType
impl PartialOrd for AttrType
impl Copy for AttrType
impl Eq for AttrType
impl StructuralPartialEq for AttrType
Auto Trait Implementations§
impl Freeze for AttrType
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