-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
typingMainly improving types, no or very few functional changesMainly improving types, no or very few functional changes
Milestone
Description
This is purely a typing issue
Many functions in tianshou deal with union types, e.g. an input can be a Batch
, a Tensor
or ndarray
and the output types depend on the input. Python's @overload
can provide a stricter type annotation in these cases.
The description of the issue is currently incomplete and will be extended as it is addressed
Metadata
Metadata
Assignees
Labels
typingMainly improving types, no or very few functional changesMainly improving types, no or very few functional changes
Type
Projects
Status
To do