Struct tensorflow::eager::raw_ops::KmeansPlusPlusInitialization
source · pub struct KmeansPlusPlusInitialization { /* private fields */ }
Expand description
KmeansPlusPlusInitialization
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/KmeansPlusPlusInitialization
Implementations§
source§impl KmeansPlusPlusInitialization
impl KmeansPlusPlusInitialization
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>>(
&self,
ctx: &'a Context,
points: &T0,
num_to_sample: &T1,
seed: &T2,
num_retries_per_sample: &T3
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, points: &T0, num_to_sample: &T1, seed: &T2, num_retries_per_sample: &T3 ) -> Result<TensorHandle<'a>>
Execute kmeans_plus_plus_initialization.
Trait Implementations§
source§impl Clone for KmeansPlusPlusInitialization
impl Clone for KmeansPlusPlusInitialization
source§fn clone(&self) -> KmeansPlusPlusInitialization
fn clone(&self) -> KmeansPlusPlusInitialization
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 Debug for KmeansPlusPlusInitialization
impl Debug for KmeansPlusPlusInitialization
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