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