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