Struct tensorflow::ops::BoostedTreesSparseAggregateStats
source · pub struct BoostedTreesSparseAggregateStats { /* private fields */ }
Expand description
Builder for the BoostedTreesSparseAggregateStats
operation.
Implementations§
source§impl BoostedTreesSparseAggregateStats
impl BoostedTreesSparseAggregateStats
sourcepub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_splits
attribute.
sourcepub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_buckets
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_ids: O0,
gradients: O1,
hessians: O2,
feature_indices: O3,
feature_values: O4,
feature_shape: 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_ids: O0, gradients: O1, hessians: O2, feature_indices: O3, feature_values: O4, feature_shape: O5, scope: &mut Scope ) -> Result<Operation>
Builds the BoostedTreesSparseAggregateStats
operation.
sourcepub fn build_instance(
&self,
node_ids: Output,
gradients: Output,
hessians: Output,
feature_indices: Output,
feature_values: Output,
feature_shape: Output,
scope: &mut Scope
) -> Result<BoostedTreesSparseAggregateStatsInst>
pub fn build_instance( &self, node_ids: Output, gradients: Output, hessians: Output, feature_indices: Output, feature_values: Output, feature_shape: Output, scope: &mut Scope ) -> Result<BoostedTreesSparseAggregateStatsInst>
Builds a new instance of ‘BoostedTreesSparseAggregateStats’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for BoostedTreesSparseAggregateStats
impl Default for BoostedTreesSparseAggregateStats
source§fn default() -> BoostedTreesSparseAggregateStats
fn default() -> BoostedTreesSparseAggregateStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BoostedTreesSparseAggregateStats
impl Send for BoostedTreesSparseAggregateStats
impl Sync for BoostedTreesSparseAggregateStats
impl Unpin for BoostedTreesSparseAggregateStats
impl UnwindSafe for BoostedTreesSparseAggregateStats
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