concepts.dsl.constraint.OptimisticValue#

class OptimisticValue[source]#

Bases: object

An optimistic value object holds a pair of data type and an optimistic identifier.

Methods

Attributes

dtype

The dtype of the optimistic value.

identifier

The optimistic identifier.

__init__(dtype, identifier)[source]#

Initialize the OptimisticValue object.

Parameters:
__new__(**kwargs)#
dtype: TensorValueTypeBase#

The dtype of the optimistic value.

identifier: int#

The optimistic identifier.