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