Skip to content

Commit

Permalink
fix: update backends/jax __init__.py to reflect changes to module
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jul 24, 2024
1 parent cd847fd commit 97b6354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivy/functional/backends/jax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def closest_valid_dtype(type=None, /, as_native=False):
from . import control_flow_ops
from .control_flow_ops import *
from . import module
from .module import Model
from .module import Module


# sub-backends
Expand All @@ -249,7 +249,7 @@ def closest_valid_dtype(type=None, /, as_native=False):
if importlib.util.find_spec("flax"):
import flax

NativeModule = Model
NativeModule = Module
elif importlib.util.find_spec("haiku"):
import haiku as hk

Expand Down

0 comments on commit 97b6354

Please sign in to comment.