Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DiscreteValueCondition.
Represents the spec to match discrete values from parent parameter.
Generated from protobuf message google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
Namespace
Google \ Cloud \ AIPlatform \ V1 \ StudySpec \ ParameterSpec \ ConditionalParameterSpecMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ values |
float[]
Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in |
getValues
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 | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<float> |
|
setValues
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.
| Parameter | |
|---|---|
| Name | Description |
var |
float[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|