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