We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef09077 + f176d63 commit 566c09fCopy full SHA for 566c09f
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 collections.abc import Mapping
8
from copy import copy, deepcopy
9
from typing import Any, Callable, Iterable, List, Literal
0 commit comments