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