Struct tensorflow::ops::LoadAllTPUEmbeddingParameters
source · pub struct LoadAllTPUEmbeddingParameters { /* private fields */ }
Expand description
Builder for the LoadAllTPUEmbeddingParameters
operation.
Implementations§
source§impl LoadAllTPUEmbeddingParameters
impl LoadAllTPUEmbeddingParameters
sourcepub fn NumTables<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn NumTables<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the NumTables
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>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>(
&self,
parameters: O0,
auxiliary1: O1,
auxiliary2: O2,
auxiliary3: O3,
auxiliary4: O4,
auxiliary5: O5,
auxiliary6: O6,
auxiliary7: O7,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>( &self, parameters: O0, auxiliary1: O1, auxiliary2: O2, auxiliary3: O3, auxiliary4: O4, auxiliary5: O5, auxiliary6: O6, auxiliary7: O7, scope: &mut Scope ) -> Result<Operation>
Builds the LoadAllTPUEmbeddingParameters
operation.
sourcepub fn build_instance(
&self,
parameters: Vec<Output>,
auxiliary1: Vec<Output>,
auxiliary2: Vec<Output>,
auxiliary3: Vec<Output>,
auxiliary4: Vec<Output>,
auxiliary5: Vec<Output>,
auxiliary6: Vec<Output>,
auxiliary7: Vec<Output>,
scope: &mut Scope
) -> Result<LoadAllTPUEmbeddingParametersInst>
pub fn build_instance( &self, parameters: Vec<Output>, auxiliary1: Vec<Output>, auxiliary2: Vec<Output>, auxiliary3: Vec<Output>, auxiliary4: Vec<Output>, auxiliary5: Vec<Output>, auxiliary6: Vec<Output>, auxiliary7: Vec<Output>, scope: &mut Scope ) -> Result<LoadAllTPUEmbeddingParametersInst>
Builds a new instance of ‘LoadAllTPUEmbeddingParameters’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for LoadAllTPUEmbeddingParameters
impl Default for LoadAllTPUEmbeddingParameters
source§fn default() -> LoadAllTPUEmbeddingParameters
fn default() -> LoadAllTPUEmbeddingParameters
Returns the “default value” for a type. Read more
Auto 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