concepts.dsl.tensor_state.StateObjectDistribution#

class StateObjectDistribution[source]#

Bases: StateObjectList

Methods

Attributes

element_type

dtype

The type of the value.

values

The values.

distribution

A distribution of the objects.

__init__(dtype, values, distribution)[source]#

Initialize the Value object.

Parameters:
__len__()#
__new__(**kwargs)#
distribution: Any#

A distribution of the objects. Since it’s a distribution over a list, the distribution is a list of probabilities, which can be represented as a numpy array, a list, etc.

dtype: ListType#

The type of the value.

property element_type: ObjectType#
values: Tuple[StateObjectReference, ...]#

The values.