We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb1ddba commit ee3d70bCopy full SHA for ee3d70b
torchrl/envs/transforms/rlhf.py
@@ -2,6 +2,8 @@
2
#
3
# This source code is licensed under the MIT license found in the
4
# LICENSE file in the root directory of this source tree.
5
+from __future__ import annotations
6
+
7
from copy import copy, deepcopy
8
9
import torch
torchrl/envs/transforms/transforms.py
@@ -19,13 +19,9 @@
19
from typing import (
20
Any,
21
Callable,
22
- Dict,
23
- List,
24
Mapping,
25
- Optional,
26
OrderedDict,
27
Sequence,
28
- Tuple,
29
TypeVar,
30
Union,
31
)
0 commit comments