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