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