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