Struct tensorflow::ops::KmeansPlusPlusInitialization
source · pub struct KmeansPlusPlusInitialization { /* private fields */ }
Expand description
Builder for the KmeansPlusPlusInitialization
operation.
Implementations§
source§impl KmeansPlusPlusInitialization
impl KmeansPlusPlusInitialization
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>>(
&self,
points: O0,
num_to_sample: O1,
seed: O2,
num_retries_per_sample: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, points: O0, num_to_sample: O1, seed: O2, num_retries_per_sample: O3, scope: &mut Scope ) -> Result<Operation>
Builds the KmeansPlusPlusInitialization
operation.
sourcepub fn build_instance(
&self,
points: Output,
num_to_sample: Output,
seed: Output,
num_retries_per_sample: Output,
scope: &mut Scope
) -> Result<KmeansPlusPlusInitializationInst>
pub fn build_instance( &self, points: Output, num_to_sample: Output, seed: Output, num_retries_per_sample: Output, scope: &mut Scope ) -> Result<KmeansPlusPlusInitializationInst>
Builds a new instance of ‘KmeansPlusPlusInitialization’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for KmeansPlusPlusInitialization
impl Debug for KmeansPlusPlusInitialization
source§impl Default for KmeansPlusPlusInitialization
impl Default for KmeansPlusPlusInitialization
source§fn default() -> KmeansPlusPlusInitialization
fn default() -> KmeansPlusPlusInitialization
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for KmeansPlusPlusInitialization
impl Send for KmeansPlusPlusInitialization
impl Sync for KmeansPlusPlusInitialization
impl Unpin for KmeansPlusPlusInitialization
impl UnwindSafe for KmeansPlusPlusInitialization
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