DelayedMixin¶
- class DelayedMixin(step_time: float, delay: float)[source]¶
Bases:
objectMixin for modules with delay-record tensors with shared step time and duration.
Attributes which have are registered as constrained this way will have a constraint on their final dimension equal to the computed record size.
- Parameters:
Caution
RecordTensorattributes must be added as attributes prior to initialization.- add_delayed(*attr: str) None[source]¶
Add delay-dependent attributes.
Each attribute must specify the name of a
RecordTensor.- Parameters:
*attr (str) – names of the attributes to set as batched.