Class DiscreteValueSpec (0.8.0)

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

Value specification for a parameter in DISCRETE type. .. attribute:: values

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.

:type: Sequence[float]

Inheritance

builtins.object > proto.message.Message > DiscreteValueSpec