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