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