Struct tensorflow::eager::raw_ops::LoadAllTPUEmbeddingParameters
source · pub struct LoadAllTPUEmbeddingParameters { /* private fields */ }
Expand description
LoadAllTPUEmbeddingParameters
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/LoadAllTPUEmbeddingParameters
Implementations§
source§impl LoadAllTPUEmbeddingParameters
impl LoadAllTPUEmbeddingParameters
sourcepub fn num_shards<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_shards<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_shards
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
parameters: &[&T0],
auxiliary1: &[&T1],
auxiliary2: &[&T2],
auxiliary3: &[&T3],
auxiliary4: &[&T4],
auxiliary5: &[&T5],
auxiliary6: &[&T6],
auxiliary7: &[&T7]
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>>( &self, ctx: &'a Context, parameters: &[&T0], auxiliary1: &[&T1], auxiliary2: &[&T2], auxiliary3: &[&T3], auxiliary4: &[&T4], auxiliary5: &[&T5], auxiliary6: &[&T6], auxiliary7: &[&T7] ) -> Result<()>
Execute load_all_tpuembedding_parameters.
Trait Implementations§
source§impl Clone for LoadAllTPUEmbeddingParameters
impl Clone for LoadAllTPUEmbeddingParameters
source§fn clone(&self) -> LoadAllTPUEmbeddingParameters
fn clone(&self) -> LoadAllTPUEmbeddingParameters
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 moreAuto Trait Implementations§
impl RefUnwindSafe for LoadAllTPUEmbeddingParameters
impl Send for LoadAllTPUEmbeddingParameters
impl Sync for LoadAllTPUEmbeddingParameters
impl Unpin for LoadAllTPUEmbeddingParameters
impl UnwindSafe for LoadAllTPUEmbeddingParameters
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