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