pub struct LoadTPUEmbeddingMomentumParameters { /* private fields */ }
Expand description
Builder for the LoadTPUEmbeddingMomentumParameters
operation.
Implementations§
source§impl LoadTPUEmbeddingMomentumParameters
impl LoadTPUEmbeddingMomentumParameters
sourcepub fn table_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn table_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the table_name
attribute.
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 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>>(
&self,
parameters: O0,
momenta: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, parameters: O0, momenta: O1, scope: &mut Scope ) -> Result<Operation>
Builds the LoadTPUEmbeddingMomentumParameters
operation.
sourcepub fn build_instance(
&self,
parameters: Output,
momenta: Output,
scope: &mut Scope
) -> Result<LoadTPUEmbeddingMomentumParametersInst>
pub fn build_instance( &self, parameters: Output, momenta: Output, scope: &mut Scope ) -> Result<LoadTPUEmbeddingMomentumParametersInst>
Builds a new instance of ‘LoadTPUEmbeddingMomentumParameters’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for LoadTPUEmbeddingMomentumParameters
impl Default for LoadTPUEmbeddingMomentumParameters
source§fn default() -> LoadTPUEmbeddingMomentumParameters
fn default() -> LoadTPUEmbeddingMomentumParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LoadTPUEmbeddingMomentumParameters
impl Send for LoadTPUEmbeddingMomentumParameters
impl Sync for LoadTPUEmbeddingMomentumParameters
impl Unpin for LoadTPUEmbeddingMomentumParameters
impl UnwindSafe for LoadTPUEmbeddingMomentumParameters
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