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