pub struct EnqueueTPUEmbeddingSparseTensorBatch { /* private fields */ }
Expand description
Builder for the EnqueueTPUEmbeddingSparseTensorBatch
operation.
Implementations§
Source§impl EnqueueTPUEmbeddingSparseTensorBatch
impl EnqueueTPUEmbeddingSparseTensorBatch
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.
Trait Implementations§
Source§impl Default for EnqueueTPUEmbeddingSparseTensorBatch
impl Default for EnqueueTPUEmbeddingSparseTensorBatch
Source§fn default() -> EnqueueTPUEmbeddingSparseTensorBatch
fn default() -> EnqueueTPUEmbeddingSparseTensorBatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnqueueTPUEmbeddingSparseTensorBatch
impl RefUnwindSafe for EnqueueTPUEmbeddingSparseTensorBatch
impl Send for EnqueueTPUEmbeddingSparseTensorBatch
impl Sync for EnqueueTPUEmbeddingSparseTensorBatch
impl Unpin for EnqueueTPUEmbeddingSparseTensorBatch
impl UnwindSafe for EnqueueTPUEmbeddingSparseTensorBatch
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