Skip to content

Commit

Permalink
chore: resolve import
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Dec 7, 2022
1 parent 453a8a8 commit 463c122
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions torchopt/diff/implicit/nn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
# ==============================================================================
"""The base class for differentiable implicit meta-gradient models."""

# Preload to resolve circular references
import torchopt.nn.module # pylint: disable=unused-import
import torchopt.nn.module # preload to resolve circular references
from torchopt.diff.implicit.nn.module import ImplicitMetaGradientModule


__all__ = ['ImplicitMetaGradientModule']

del torchopt

0 comments on commit 463c122

Please sign in to comment.