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