Skip to content

Commit

Permalink
[Formatting] Fix F401 lint advisory (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
apbard authored Dec 29, 2022
1 parent 190ffe3 commit 170d878
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tensordict/nn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@
set_interaction_mode,
)
from .sequence import TensorDictSequential

__all__ = [
"dispatch_kwargs",
"TensorDictModule",
"TensorDictModuleWrapper",
"get_functional",
"make_functional",
"repopulate_module",
"ProbabilisticTensorDictModule",
"ProbabilisticTensorDictSequential",
"set_interaction_mode",
"TensorDictSequential",
]
5 changes: 5 additions & 0 deletions tensordict/prototype/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
from .tensorclass import is_tensorclass, tensorclass

__all__ = [
"is_tensorclass",
"tensorclass",
]

0 comments on commit 170d878

Please sign in to comment.