[][src]Struct tensorflow_proto::tensorflow::decision_trees::ConstResultTest

pub struct ConstResultTest {
    pub feature_id: Option<FeatureId>,
    pub value_for_dtype: Option<Value>,
    pub test_result: bool,
}

Used in generic_tree_model.BinaryNode.left_child_test. Returns test_result if feature value is not missed. Otherwise BinaryNode.default_direction is used.

Fields

feature_id: Option<FeatureId>value_for_dtype: Option<Value>

value_for_dtype is used to store the type of the feature. The value itself should be ignored, only its type is used.

test_result: bool

Trait Implementations

impl Clone for ConstResultTest[src]

impl Debug for ConstResultTest[src]

impl Default for ConstResultTest[src]

impl Message for ConstResultTest[src]

impl PartialEq<ConstResultTest> for ConstResultTest[src]

impl StructuralPartialEq for ConstResultTest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.