Struct tensorflow::OpArgDef
source · pub struct OpArgDef { /* private fields */ }
Expand description
An argument definition for a graph operation.
Implementations§
source§impl OpArgDef
impl OpArgDef
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the description of the argument
sourcepub fn field_type(&self) -> DataType
pub fn field_type(&self) -> DataType
Returns the data type of the argument
sourcepub fn number_attr(&self) -> &str
pub fn number_attr(&self) -> &str
Returns the number attribute for this argument
sourcepub fn type_list_attr(&self) -> &str
pub fn type_list_attr(&self) -> &str
Returns the type list attribute for this argument
Trait Implementations§
source§impl PartialEq<OpArgDef> for OpArgDef
impl PartialEq<OpArgDef> for OpArgDef
impl Eq for OpArgDef
impl StructuralEq for OpArgDef
impl StructuralPartialEq for OpArgDef
Auto Trait Implementations§
impl RefUnwindSafe for OpArgDef
impl Send for OpArgDef
impl Sync for OpArgDef
impl Unpin for OpArgDef
impl UnwindSafe for OpArgDef
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