pub struct BoostedTreesCalculateBestGainsPerFeature { /* private fields */ }
Expand description
BoostedTreesCalculateBestGainsPerFeature
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BoostedTreesCalculateBestGainsPerFeature
Implementations§
source§impl BoostedTreesCalculateBestGainsPerFeature
impl BoostedTreesCalculateBestGainsPerFeature
sourcepub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_splits
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>>(
&self,
ctx: &'a Context,
node_id_range: &T0,
stats_summary_list: &[&T1],
l1: &T2,
l2: &T3,
tree_complexity: &T4,
min_node_weight: &T5
) -> Result<[TensorHandle<'a>; 5]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>( &self, ctx: &'a Context, node_id_range: &T0, stats_summary_list: &[&T1], l1: &T2, l2: &T3, tree_complexity: &T4, min_node_weight: &T5 ) -> Result<[TensorHandle<'a>; 5]>
Execute boosted_trees_calculate_best_gains_per_feature.
Trait Implementations§
source§impl Clone for BoostedTreesCalculateBestGainsPerFeature
impl Clone for BoostedTreesCalculateBestGainsPerFeature
source§fn clone(&self) -> BoostedTreesCalculateBestGainsPerFeature
fn clone(&self) -> BoostedTreesCalculateBestGainsPerFeature
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 moreAuto Trait Implementations§
impl RefUnwindSafe for BoostedTreesCalculateBestGainsPerFeature
impl Send for BoostedTreesCalculateBestGainsPerFeature
impl Sync for BoostedTreesCalculateBestGainsPerFeature
impl Unpin for BoostedTreesCalculateBestGainsPerFeature
impl UnwindSafe for BoostedTreesCalculateBestGainsPerFeature
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