Struct tensorflow::ops::BoostedTreesBucketize
source · pub struct BoostedTreesBucketize { /* private fields */ }
Expand description
Builder for the BoostedTreesBucketize
operation.
Implementations§
source§impl BoostedTreesBucketize
impl BoostedTreesBucketize
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>>(
&self,
float_values: O0,
bucket_boundaries: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, float_values: O0, bucket_boundaries: O1, scope: &mut Scope ) -> Result<Operation>
Builds the BoostedTreesBucketize
operation.
sourcepub fn build_instance(
&self,
float_values: Vec<Output>,
bucket_boundaries: Vec<Output>,
scope: &mut Scope
) -> Result<BoostedTreesBucketizeInst>
pub fn build_instance( &self, float_values: Vec<Output>, bucket_boundaries: Vec<Output>, scope: &mut Scope ) -> Result<BoostedTreesBucketizeInst>
Builds a new instance of ‘BoostedTreesBucketize’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for BoostedTreesBucketize
impl Debug for BoostedTreesBucketize
source§impl Default for BoostedTreesBucketize
impl Default for BoostedTreesBucketize
source§fn default() -> BoostedTreesBucketize
fn default() -> BoostedTreesBucketize
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BoostedTreesBucketize
impl Send for BoostedTreesBucketize
impl Sync for BoostedTreesBucketize
impl Unpin for BoostedTreesBucketize
impl UnwindSafe for BoostedTreesBucketize
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