Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition (v0.43.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec::DiscreteValueCondition.

Represents the spec to match discrete values from parent parameter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#values

def values() -> ::Array<::Float>
Returns
  • (::Array<::Float>) — Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter.

    The Epsilon of the value matching is 1e-10.

#values=

def values=(value) -> ::Array<::Float>
Parameter
  • value (::Array<::Float>) — Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter.

    The Epsilon of the value matching is 1e-10.

Returns
  • (::Array<::Float>) — Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter.

    The Epsilon of the value matching is 1e-10.