pub struct BoostedTreesCalculateBestFeatureSplit { /* private fields */ }
Expand description
Builder for the BoostedTreesCalculateBestFeatureSplit
operation.
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 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>>(
&self,
node_id_range: O0,
stats_summary: O1,
l1: O2,
l2: O3,
tree_complexity: O4,
min_node_weight: O5,
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>>( &self, node_id_range: O0, stats_summary: O1, l1: O2, l2: O3, tree_complexity: O4, min_node_weight: O5, scope: &mut Scope ) -> Result<Operation>
Builds the BoostedTreesCalculateBestFeatureSplit
operation.
sourcepub fn build_instance(
&self,
node_id_range: Output,
stats_summary: Output,
l1: Output,
l2: Output,
tree_complexity: Output,
min_node_weight: Output,
scope: &mut Scope
) -> Result<BoostedTreesCalculateBestFeatureSplitInst>
pub fn build_instance( &self, node_id_range: Output, stats_summary: Output, l1: Output, l2: Output, tree_complexity: Output, min_node_weight: Output, scope: &mut Scope ) -> Result<BoostedTreesCalculateBestFeatureSplitInst>
Builds a new instance of ‘BoostedTreesCalculateBestFeatureSplit’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for BoostedTreesCalculateBestFeatureSplit
impl Default for BoostedTreesCalculateBestFeatureSplit
source§fn default() -> BoostedTreesCalculateBestFeatureSplit
fn default() -> BoostedTreesCalculateBestFeatureSplit
Returns the “default value” for a type. Read more
Auto 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