concepts.dsl.tensor_state.StateObjectReference#

class StateObjectReference[source]#

Bases: object

The StateObjectReference class represents a reference to an object in the state. It contains the name of the object and an index of the object in the state. Note that this index is depending on the type of the object. See the documentation for NamedObjectTensorState for more details.

Methods

clone([dtype])

Attributes

__init__(name, index, dtype=None)#
Parameters:
Return type:

None

__new__(**kwargs)#
clone(dtype=None)[source]#
Parameters:

dtype (ObjectType | None)

Return type:

StateObjectReference

dtype: ObjectType | None = None#
index: int#
name: str#