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