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