Struct tensorflow::ops::BoostedTreesUpdateEnsemble
source · pub struct BoostedTreesUpdateEnsemble { /* private fields */ }
Expand description
Builder for the BoostedTreesUpdateEnsemble
operation.
Implementations§
source§impl BoostedTreesUpdateEnsemble
impl BoostedTreesUpdateEnsemble
sourcepub fn pruning_mode<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn pruning_mode<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the pruning_mode
attribute.
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 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>, O8: Into<Output>>(
&self,
tree_ensemble_handle: O0,
feature_ids: O1,
node_ids: O2,
gains: O3,
thresholds: O4,
left_node_contribs: O5,
right_node_contribs: O6,
max_depth: O7,
learning_rate: O8,
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>, O8: Into<Output>>( &self, tree_ensemble_handle: O0, feature_ids: O1, node_ids: O2, gains: O3, thresholds: O4, left_node_contribs: O5, right_node_contribs: O6, max_depth: O7, learning_rate: O8, scope: &mut Scope ) -> Result<Operation>
Builds the BoostedTreesUpdateEnsemble
operation.
sourcepub fn build_instance(
&self,
tree_ensemble_handle: Output,
feature_ids: Output,
node_ids: Vec<Output>,
gains: Vec<Output>,
thresholds: Vec<Output>,
left_node_contribs: Vec<Output>,
right_node_contribs: Vec<Output>,
max_depth: Output,
learning_rate: Output,
scope: &mut Scope
) -> Result<BoostedTreesUpdateEnsembleInst>
pub fn build_instance( &self, tree_ensemble_handle: Output, feature_ids: Output, node_ids: Vec<Output>, gains: Vec<Output>, thresholds: Vec<Output>, left_node_contribs: Vec<Output>, right_node_contribs: Vec<Output>, max_depth: Output, learning_rate: Output, scope: &mut Scope ) -> Result<BoostedTreesUpdateEnsembleInst>
Builds a new instance of ‘BoostedTreesUpdateEnsemble’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for BoostedTreesUpdateEnsemble
impl Debug for BoostedTreesUpdateEnsemble
source§impl Default for BoostedTreesUpdateEnsemble
impl Default for BoostedTreesUpdateEnsemble
source§fn default() -> BoostedTreesUpdateEnsemble
fn default() -> BoostedTreesUpdateEnsemble
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BoostedTreesUpdateEnsemble
impl Send for BoostedTreesUpdateEnsemble
impl Sync for BoostedTreesUpdateEnsemble
impl Unpin for BoostedTreesUpdateEnsemble
impl UnwindSafe for BoostedTreesUpdateEnsemble
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