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.
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 Freeze for BoostedTreesSparseCalculateBestFeatureSplit
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