pub struct EnqueueTPUEmbeddingRaggedTensorBatch { /* private fields */ }
Expand description
Builder for the EnqueueTPUEmbeddingRaggedTensorBatch
operation.
Implementations§
source§impl EnqueueTPUEmbeddingRaggedTensorBatch
impl EnqueueTPUEmbeddingRaggedTensorBatch
sourcepub fn device_ordinal<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn device_ordinal<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the device_ordinal
attribute.
sourcepub fn combiners<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn combiners<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the combiners
attribute.
sourcepub fn table_ids<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn table_ids<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the table_ids
attribute.
sourcepub fn max_sequence_lengths<ArgType: Into<Vec<i64>>>(
self,
value: ArgType
) -> Self
pub fn max_sequence_lengths<ArgType: Into<Vec<i64>>>( self, value: ArgType ) -> Self
Sets the max_sequence_lengths
attribute.
sourcepub fn num_features<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn num_features<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the num_features
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>, O3: Into<Output>>(
&self,
sample_splits: O0,
embedding_indices: O1,
aggregation_weights: O2,
mode_override: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, sample_splits: O0, embedding_indices: O1, aggregation_weights: O2, mode_override: O3, scope: &mut Scope ) -> Result<Operation>
Builds the EnqueueTPUEmbeddingRaggedTensorBatch
operation.
sourcepub fn build_instance(
&self,
sample_splits: Vec<Output>,
embedding_indices: Vec<Output>,
aggregation_weights: Vec<Output>,
mode_override: Output,
scope: &mut Scope
) -> Result<EnqueueTPUEmbeddingRaggedTensorBatchInst>
pub fn build_instance( &self, sample_splits: Vec<Output>, embedding_indices: Vec<Output>, aggregation_weights: Vec<Output>, mode_override: Output, scope: &mut Scope ) -> Result<EnqueueTPUEmbeddingRaggedTensorBatchInst>
Builds a new instance of ‘EnqueueTPUEmbeddingRaggedTensorBatch’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for EnqueueTPUEmbeddingRaggedTensorBatch
impl Default for EnqueueTPUEmbeddingRaggedTensorBatch
source§fn default() -> EnqueueTPUEmbeddingRaggedTensorBatch
fn default() -> EnqueueTPUEmbeddingRaggedTensorBatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EnqueueTPUEmbeddingRaggedTensorBatch
impl Send for EnqueueTPUEmbeddingRaggedTensorBatch
impl Sync for EnqueueTPUEmbeddingRaggedTensorBatch
impl Unpin for EnqueueTPUEmbeddingRaggedTensorBatch
impl UnwindSafe for EnqueueTPUEmbeddingRaggedTensorBatch
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