[][src]Enum gcp_client::google::cloud::ml::v1::parameter_spec::ScaleType

#[repr(i32)]pub enum ScaleType {
    None,
    UnitLinearScale,
    UnitLogScale,
    UnitReverseLogScale,
}

The type of scaling that should be applied to this parameter.

Variants

None

By default, no scaling is applied.

UnitLinearScale

Scales the feasible space to (0, 1) linearly.

UnitLogScale

Scales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.

UnitReverseLogScale

Scales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.

Implementations

impl ScaleType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ScaleType.

pub fn from_i32(value: i32) -> Option<ScaleType>[src]

Converts an i32 to a ScaleType, or None if value is not a valid variant.

Trait Implementations

impl Clone for ScaleType[src]

impl Copy for ScaleType[src]

impl Debug for ScaleType[src]

impl Default for ScaleType[src]

impl Eq for ScaleType[src]

impl From<ScaleType> for i32[src]

impl Hash for ScaleType[src]

impl Ord for ScaleType[src]

impl PartialEq<ScaleType> for ScaleType[src]

impl PartialOrd<ScaleType> for ScaleType[src]

impl StructuralEq for ScaleType[src]

impl StructuralPartialEq for ScaleType[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]