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