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