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