You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, i would like to change the ValueType from f32 to f64. Is there any way to do it from myself or you have to implement new stuffs ?
I saw in your code source that you defined in this way :
///! For now we only support std::$t using this macro.
/// We will generalize ValueType in future.
macro_rules! def_value_type {
($t: tt) => {
pub type ValueType = $t;
pub const VALUE_TYPE_MAX: ValueType = std::$t::MAX;
pub const VALUE_TYPE_MIN: ValueType = std::$t::MIN;
pub const VALUE_TYPE_UNKNOWN: ValueType = VALUE_TYPE_MIN;
};
}
// use continous variables for decision tree
def_value_type!(f32);
Can you bind the ValueType to an f64 behind the feature flag ?
Thanks,
Alexis D.
The text was updated successfully, but these errors were encountered:
Hey, i would like to change the
ValueType
fromf32
tof64
. Is there any way to do it from myself or you have to implement new stuffs ?I saw in your code source that you defined in this way :
Can you bind the
ValueType
to anf64
behind the feature flag ?Thanks,
Alexis D.
The text was updated successfully, but these errors were encountered: