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