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