pub struct BoostedTreesCalculateBestFeatureSplit { /* private fields */ }
Expand description
BoostedTreesCalculateBestFeatureSplit
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BoostedTreesCalculateBestFeatureSplit
Implementations§
source§impl BoostedTreesCalculateBestFeatureSplit
impl BoostedTreesCalculateBestFeatureSplit
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 split_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn split_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the split_type
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: &T1,
l1: &T2,
l2: &T3,
tree_complexity: &T4,
min_node_weight: &T5
) -> Result<[TensorHandle<'a>; 7]>
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: &T1, l1: &T2, l2: &T3, tree_complexity: &T4, min_node_weight: &T5 ) -> Result<[TensorHandle<'a>; 7]>
Execute boosted_trees_calculate_best_feature_split.
Trait Implementations§
source§impl Clone for BoostedTreesCalculateBestFeatureSplit
impl Clone for BoostedTreesCalculateBestFeatureSplit
source§fn clone(&self) -> BoostedTreesCalculateBestFeatureSplit
fn clone(&self) -> BoostedTreesCalculateBestFeatureSplit
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 BoostedTreesCalculateBestFeatureSplit
impl Send for BoostedTreesCalculateBestFeatureSplit
impl Sync for BoostedTreesCalculateBestFeatureSplit
impl Unpin for BoostedTreesCalculateBestFeatureSplit
impl UnwindSafe for BoostedTreesCalculateBestFeatureSplit
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