Struct tensorflow::eager::raw_ops::BoostedTreesUpdateEnsembleV2
source · pub struct BoostedTreesUpdateEnsembleV2 { /* private fields */ }
Expand description
BoostedTreesUpdateEnsembleV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BoostedTreesUpdateEnsembleV2
Implementations§
source§impl BoostedTreesUpdateEnsembleV2
impl BoostedTreesUpdateEnsembleV2
sourcepub fn logits_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn logits_dimension<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the logits_dimension
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>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
tree_ensemble_handle: &T0,
feature_ids: &[&T1],
dimension_ids: &[&T2],
node_ids: &[&T3],
gains: &[&T4],
thresholds: &[&T5],
left_node_contribs: &[&T6],
right_node_contribs: &[&T7],
split_types: &[&T8],
max_depth: &T9,
learning_rate: &T10,
pruning_mode: &T11
) -> Result<()>
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>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>>( &self, ctx: &'a Context, tree_ensemble_handle: &T0, feature_ids: &[&T1], dimension_ids: &[&T2], node_ids: &[&T3], gains: &[&T4], thresholds: &[&T5], left_node_contribs: &[&T6], right_node_contribs: &[&T7], split_types: &[&T8], max_depth: &T9, learning_rate: &T10, pruning_mode: &T11 ) -> Result<()>
Execute boosted_trees_update_ensemble_v2.
Trait Implementations§
source§impl Clone for BoostedTreesUpdateEnsembleV2
impl Clone for BoostedTreesUpdateEnsembleV2
source§fn clone(&self) -> BoostedTreesUpdateEnsembleV2
fn clone(&self) -> BoostedTreesUpdateEnsembleV2
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 BoostedTreesUpdateEnsembleV2
impl Debug for BoostedTreesUpdateEnsembleV2
Auto Trait Implementations§
impl RefUnwindSafe for BoostedTreesUpdateEnsembleV2
impl Send for BoostedTreesUpdateEnsembleV2
impl Sync for BoostedTreesUpdateEnsembleV2
impl Unpin for BoostedTreesUpdateEnsembleV2
impl UnwindSafe for BoostedTreesUpdateEnsembleV2
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