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 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