Struct tensorflow::eager::raw_ops::SdcaOptimizer
source · pub struct SdcaOptimizer { /* private fields */ }
Expand description
SdcaOptimizer
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SdcaOptimizer
Implementations§
source§impl SdcaOptimizer
impl SdcaOptimizer
sourcepub fn loss_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn loss_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the loss_type
attribute.
sourcepub fn adaptative<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn adaptative<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the adaptative
attribute.
sourcepub fn num_loss_partitions<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_loss_partitions<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_loss_partitions
attribute.
sourcepub fn num_inner_iterations<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_inner_iterations<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_inner_iterations
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>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
sparse_example_indices: &[&T0],
sparse_feature_indices: &[&T1],
sparse_feature_values: &[&T2],
dense_features: &[&T3],
example_weights: &T4,
example_labels: &T5,
sparse_indices: &[&T6],
sparse_weights: &[&T7],
dense_weights: &[&T8],
example_state_data: &T9
) -> Result<[TensorHandle<'a>; 3]>
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>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>>( &self, ctx: &'a Context, sparse_example_indices: &[&T0], sparse_feature_indices: &[&T1], sparse_feature_values: &[&T2], dense_features: &[&T3], example_weights: &T4, example_labels: &T5, sparse_indices: &[&T6], sparse_weights: &[&T7], dense_weights: &[&T8], example_state_data: &T9 ) -> Result<[TensorHandle<'a>; 3]>
Execute sdca_optimizer.
Trait Implementations§
source§impl Clone for SdcaOptimizer
impl Clone for SdcaOptimizer
source§fn clone(&self) -> SdcaOptimizer
fn clone(&self) -> SdcaOptimizer
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 SdcaOptimizer
impl Debug for SdcaOptimizer
Auto Trait Implementations§
impl RefUnwindSafe for SdcaOptimizer
impl Send for SdcaOptimizer
impl Sync for SdcaOptimizer
impl Unpin for SdcaOptimizer
impl UnwindSafe for SdcaOptimizer
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