Class DiscreteValueSpec (0.6.0)

DiscreteValueSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value specification for a parameter in DISCRETE type.

Attribute

NameDescription
values Sequence[float]
Required. A list of possible values. The list should be in increasing order and at least 1e-10 apart. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.

Inheritance

builtins.object > proto.message.Message > DiscreteValueSpec