Struct tensorflow::eager::raw_ops::SdcaOptimizerV2
source · pub struct SdcaOptimizerV2 { /* private fields */ }
Expand description
SdcaOptimizerV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SdcaOptimizerV2
Implementations§
source§impl SdcaOptimizerV2
impl SdcaOptimizerV2
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 adaptive<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn adaptive<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the adaptive
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_v2.
Trait Implementations§
source§impl Clone for SdcaOptimizerV2
impl Clone for SdcaOptimizerV2
source§fn clone(&self) -> SdcaOptimizerV2
fn clone(&self) -> SdcaOptimizerV2
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 SdcaOptimizerV2
impl Debug for SdcaOptimizerV2
Auto Trait Implementations§
impl RefUnwindSafe for SdcaOptimizerV2
impl Send for SdcaOptimizerV2
impl Sync for SdcaOptimizerV2
impl Unpin for SdcaOptimizerV2
impl UnwindSafe for SdcaOptimizerV2
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