We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c20a4f1 + b6d09a5 commit a5f9171Copy full SHA for a5f9171
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