Struct tensorflow::ops::XlaSendTPUEmbeddingGradientsInst
source · pub struct XlaSendTPUEmbeddingGradientsInst {
pub op: Operation,
}
Expand description
An instance of ‘XlaSendTPUEmbeddingGradients’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built XlaSendTPUEmbeddingGradients Operation in a Tensorflow graph.
Implementations§
source§impl XlaSendTPUEmbeddingGradientsInst
impl XlaSendTPUEmbeddingGradientsInst
sourcepub fn gradients(&self) -> Result<Vec<Input<'_>>>
pub fn gradients(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of gradients for ‘gradients’ Input of this XlaSendTPUEmbeddingGradients operation.
sourcepub fn learning_rates(&self) -> Result<Vec<Input<'_>>>
pub fn learning_rates(&self) -> Result<Vec<Input<'_>>>
Returns a Vector of learning_rates for ‘learning_rates’ Input of this XlaSendTPUEmbeddingGradients operation.
sourcepub fn deduplication_data(&self) -> Result<Input<'_>>
pub fn deduplication_data(&self) -> Result<Input<'_>>
Returns the ‘deduplication_data’ Input of this ‘XlaSendTPUEmbeddingGradients’ operation.
Trait Implementations§
source§impl Clone for XlaSendTPUEmbeddingGradientsInst
impl Clone for XlaSendTPUEmbeddingGradientsInst
source§fn clone(&self) -> XlaSendTPUEmbeddingGradientsInst
fn clone(&self) -> XlaSendTPUEmbeddingGradientsInst
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<XlaSendTPUEmbeddingGradientsInst> for Operation
impl From<XlaSendTPUEmbeddingGradientsInst> for Operation
source§fn from(inst: XlaSendTPUEmbeddingGradientsInst) -> Operation
fn from(inst: XlaSendTPUEmbeddingGradientsInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for XlaSendTPUEmbeddingGradientsInst
impl Send for XlaSendTPUEmbeddingGradientsInst
impl Sync for XlaSendTPUEmbeddingGradientsInst
impl Unpin for XlaSendTPUEmbeddingGradientsInst
impl UnwindSafe for XlaSendTPUEmbeddingGradientsInst
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