pub struct EnqueueTPUEmbeddingSparseTensorBatchInst {
pub op: Operation,
}
Expand description
An instance of ‘EnqueueTPUEmbeddingSparseTensorBatch’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built EnqueueTPUEmbeddingSparseTensorBatch Operation in a Tensorflow graph.
Implementations§
source§impl EnqueueTPUEmbeddingSparseTensorBatchInst
impl EnqueueTPUEmbeddingSparseTensorBatchInst
sourcepub fn sample_indices(&self) -> Result<Vec<Input<'_>>>
pub fn sample_indices(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of sample_indices for ‘sample_indices’ Input of this EnqueueTPUEmbeddingSparseTensorBatch operation.
sourcepub fn embedding_indices(&self) -> Result<Vec<Input<'_>>>
pub fn embedding_indices(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of embedding_indices for ‘embedding_indices’ Input of this EnqueueTPUEmbeddingSparseTensorBatch operation.
sourcepub fn aggregation_weights(&self) -> Result<Vec<Input<'_>>>
pub fn aggregation_weights(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of aggregation_weights for ‘aggregation_weights’ Input of this EnqueueTPUEmbeddingSparseTensorBatch operation.
sourcepub fn mode_override(&self) -> Result<Input<'_>>
pub fn mode_override(&self) -> Result<Input<'_>>
Returns the ‘mode_override’ Input of this ‘EnqueueTPUEmbeddingSparseTensorBatch’ operation.
Trait Implementations§
source§impl Clone for EnqueueTPUEmbeddingSparseTensorBatchInst
impl Clone for EnqueueTPUEmbeddingSparseTensorBatchInst
source§fn clone(&self) -> EnqueueTPUEmbeddingSparseTensorBatchInst
fn clone(&self) -> EnqueueTPUEmbeddingSparseTensorBatchInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<EnqueueTPUEmbeddingSparseTensorBatchInst> for Operation
impl From<EnqueueTPUEmbeddingSparseTensorBatchInst> for Operation
source§fn from(inst: EnqueueTPUEmbeddingSparseTensorBatchInst) -> Operation
fn from(inst: EnqueueTPUEmbeddingSparseTensorBatchInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EnqueueTPUEmbeddingSparseTensorBatchInst
impl Send for EnqueueTPUEmbeddingSparseTensorBatchInst
impl Sync for EnqueueTPUEmbeddingSparseTensorBatchInst
impl Unpin for EnqueueTPUEmbeddingSparseTensorBatchInst
impl UnwindSafe for EnqueueTPUEmbeddingSparseTensorBatchInst
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