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