pub struct BoostedTreesCalculateBestFeatureSplitV2 { /* private fields */ }
Expand description
Builder for the BoostedTreesCalculateBestFeatureSplitV2
operation.
Implementations§
Source§impl BoostedTreesCalculateBestFeatureSplitV2
impl BoostedTreesCalculateBestFeatureSplitV2
Sourcepub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_features
attribute.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>(
&self,
node_id_range: O0,
stats_summaries_list: O1,
split_types: O2,
candidate_feature_ids: O3,
l1: O4,
l2: O5,
tree_complexity: O6,
min_node_weight: O7,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>( &self, node_id_range: O0, stats_summaries_list: O1, split_types: O2, candidate_feature_ids: O3, l1: O4, l2: O5, tree_complexity: O6, min_node_weight: O7, scope: &mut Scope, ) -> Result<Operation>
Builds the BoostedTreesCalculateBestFeatureSplitV2
operation.
Trait Implementations§
Source§impl Default for BoostedTreesCalculateBestFeatureSplitV2
impl Default for BoostedTreesCalculateBestFeatureSplitV2
Source§fn default() -> BoostedTreesCalculateBestFeatureSplitV2
fn default() -> BoostedTreesCalculateBestFeatureSplitV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoostedTreesCalculateBestFeatureSplitV2
impl RefUnwindSafe for BoostedTreesCalculateBestFeatureSplitV2
impl Send for BoostedTreesCalculateBestFeatureSplitV2
impl Sync for BoostedTreesCalculateBestFeatureSplitV2
impl Unpin for BoostedTreesCalculateBestFeatureSplitV2
impl UnwindSafe for BoostedTreesCalculateBestFeatureSplitV2
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