Struct tensorflow::eager::raw_ops::BoostedTreesSparseAggregateStats
source · pub struct BoostedTreesSparseAggregateStats { /* private fields */ }
Expand description
BoostedTreesSparseAggregateStats
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BoostedTreesSparseAggregateStats
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
node_ids: &T0,
gradients: &T1,
hessians: &T2,
feature_indices: &T3,
feature_values: &T4,
feature_shape: &T5
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>( &self, ctx: &'a Context, node_ids: &T0, gradients: &T1, hessians: &T2, feature_indices: &T3, feature_values: &T4, feature_shape: &T5 ) -> Result<[TensorHandle<'a>; 3]>
Execute boosted_trees_sparse_aggregate_stats.
Trait Implementations§
source§impl Clone for BoostedTreesSparseAggregateStats
impl Clone for BoostedTreesSparseAggregateStats
source§fn clone(&self) -> BoostedTreesSparseAggregateStats
fn clone(&self) -> BoostedTreesSparseAggregateStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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