pub struct DynamicEnqueueTPUEmbeddingArbitraryTensorBatch { /* private fields */ }
Expand description
Builder for the DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
operation.
Implementations§
Source§impl DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
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 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>, O4: Into<Output>>(
&self,
sample_indices_or_row_splits: O0,
embedding_indices: O1,
aggregation_weights: O2,
mode_override: O3,
device_ordinal: O4,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, sample_indices_or_row_splits: O0, embedding_indices: O1, aggregation_weights: O2, mode_override: O3, device_ordinal: O4, scope: &mut Scope, ) -> Result<Operation>
Builds the DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
operation.
Sourcepub fn build_instance(
&self,
sample_indices_or_row_splits: Vec<Output>,
embedding_indices: Vec<Output>,
aggregation_weights: Vec<Output>,
mode_override: Output,
device_ordinal: Output,
scope: &mut Scope,
) -> Result<DynamicEnqueueTPUEmbeddingArbitraryTensorBatchInst>
pub fn build_instance( &self, sample_indices_or_row_splits: Vec<Output>, embedding_indices: Vec<Output>, aggregation_weights: Vec<Output>, mode_override: Output, device_ordinal: Output, scope: &mut Scope, ) -> Result<DynamicEnqueueTPUEmbeddingArbitraryTensorBatchInst>
Builds a new instance of ‘DynamicEnqueueTPUEmbeddingArbitraryTensorBatch’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Source§impl Default for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl Default for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
Source§fn default() -> DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
fn default() -> DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl RefUnwindSafe for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl Send for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl Sync for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl Unpin for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
impl UnwindSafe for DynamicEnqueueTPUEmbeddingArbitraryTensorBatch
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