Struct tensorflow::ops::DiagPart
source · [−]pub struct DiagPart { /* private fields */ }
Expand description
Builder for the DiagPart
operation.
Implementations
sourceimpl DiagPart
impl DiagPart
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 DiagPart
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<DiagPartInst>
pub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<DiagPartInst>
Builds a new instance of ‘DiagPart’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiagPart
impl Send for DiagPart
impl Sync for DiagPart
impl Unpin for DiagPart
impl UnwindSafe for DiagPart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more