Struct tensorflow::ops::MatrixDiagV2
source · pub struct MatrixDiagV2 { /* private fields */ }
Expand description
Builder for the MatrixDiagV2
operation.
Implementations§
source§impl MatrixDiagV2
impl MatrixDiagV2
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
&self,
diagonal: O0,
k: O1,
num_rows: O2,
num_cols: O3,
padding_value: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, diagonal: O0, k: O1, num_rows: O2, num_cols: O3, padding_value: O4, scope: &mut Scope ) -> Result<Operation>
Builds the MatrixDiagV2
operation.
sourcepub fn build_instance(
&self,
diagonal: Output,
k: Output,
num_rows: Output,
num_cols: Output,
padding_value: Output,
scope: &mut Scope
) -> Result<MatrixDiagV2Inst>
pub fn build_instance( &self, diagonal: Output, k: Output, num_rows: Output, num_cols: Output, padding_value: Output, scope: &mut Scope ) -> Result<MatrixDiagV2Inst>
Builds a new instance of ‘MatrixDiagV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for MatrixDiagV2
impl Debug for MatrixDiagV2
source§impl Default for MatrixDiagV2
impl Default for MatrixDiagV2
source§fn default() -> MatrixDiagV2
fn default() -> MatrixDiagV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MatrixDiagV2
impl Send for MatrixDiagV2
impl Sync for MatrixDiagV2
impl Unpin for MatrixDiagV2
impl UnwindSafe for MatrixDiagV2
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