concepts.dsl.tensor_state.TensorState#
- class TensorState[source]#
Bases:
TensorStateBase
A state representation is essentially a mapping from feature names to tensors.
Methods
clone
()Clone the internals.
Extra state string.
Extra state string before the features.
Get a summary string of the state.
Attributes
The number of batchified dimensions.
Additional internal information about the state.
- __new__(**kwargs)#
- summary_string()[source]#
Get a summary string of the state. The main difference between this and __str__ is that this function only formats the shape of intermediate tensors.
- Return type:
- property features: TensorValueDict#