Struct tensorflow::ops::MatrixDiagV3Inst
source · pub struct MatrixDiagV3Inst {
pub op: Operation,
}
Expand description
An instance of ‘MatrixDiagV3’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built MatrixDiagV3 Operation in a Tensorflow graph.
Implementations§
source§impl MatrixDiagV3Inst
impl MatrixDiagV3Inst
sourcepub fn diagonal(&self) -> Input<'_>
pub fn diagonal(&self) -> Input<'_>
Returns the ‘diagonal’ Input of this ‘MatrixDiagV3’ operation.
sourcepub fn num_rows(&self) -> Input<'_>
pub fn num_rows(&self) -> Input<'_>
Returns the ‘num_rows’ Input of this ‘MatrixDiagV3’ operation.
sourcepub fn num_cols(&self) -> Input<'_>
pub fn num_cols(&self) -> Input<'_>
Returns the ‘num_cols’ Input of this ‘MatrixDiagV3’ operation.
sourcepub fn padding_value(&self) -> Input<'_>
pub fn padding_value(&self) -> Input<'_>
Returns the ‘padding_value’ Input of this ‘MatrixDiagV3’ operation.
Trait Implementations§
source§impl Clone for MatrixDiagV3Inst
impl Clone for MatrixDiagV3Inst
source§fn clone(&self) -> MatrixDiagV3Inst
fn clone(&self) -> MatrixDiagV3Inst
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 MatrixDiagV3Inst
impl Debug for MatrixDiagV3Inst
source§impl From<MatrixDiagV3Inst> for Operation
impl From<MatrixDiagV3Inst> for Operation
source§fn from(inst: MatrixDiagV3Inst) -> Operation
fn from(inst: MatrixDiagV3Inst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MatrixDiagV3Inst
impl Send for MatrixDiagV3Inst
impl Sync for MatrixDiagV3Inst
impl Unpin for MatrixDiagV3Inst
impl UnwindSafe for MatrixDiagV3Inst
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