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.
sourcepub fn build_instance(
&self,
node_id_range: Output,
stats_summaries_list: Vec<Output>,
split_types: Output,
candidate_feature_ids: Output,
l1: Output,
l2: Output,
tree_complexity: Output,
min_node_weight: Output,
scope: &mut Scope
) -> Result<BoostedTreesCalculateBestFeatureSplitV2Inst>
pub fn build_instance( &self, node_id_range: Output, stats_summaries_list: Vec<Output>, split_types: Output, candidate_feature_ids: Output, l1: Output, l2: Output, tree_complexity: Output, min_node_weight: Output, scope: &mut Scope ) -> Result<BoostedTreesCalculateBestFeatureSplitV2Inst>
Builds a new instance of ‘BoostedTreesCalculateBestFeatureSplitV2’ Operation with it’s Outputs and Inputs exposed as methods.
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 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