Struct tensorflow::OpAttrDef
source · pub struct OpAttrDef { /* private fields */ }
Expand description
An attribute definition for a graph operation.
Implementations§
source§impl OpAttrDef
impl OpAttrDef
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the description of the attribute
sourcepub fn has_minimum(&self) -> bool
pub fn has_minimum(&self) -> bool
Returns true if this attribute has a minimum
Trait Implementations§
source§impl PartialEq<OpAttrDef> for OpAttrDef
impl PartialEq<OpAttrDef> for OpAttrDef
impl Eq for OpAttrDef
impl StructuralEq for OpAttrDef
impl StructuralPartialEq for OpAttrDef
Auto Trait Implementations§
impl RefUnwindSafe for OpAttrDef
impl Send for OpAttrDef
impl Sync for OpAttrDef
impl Unpin for OpAttrDef
impl UnwindSafe for OpAttrDef
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