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