Skip to content

Commit

Permalink
fix (stateful)(utilities): fixing small typo in ivy.sync_models
Browse files Browse the repository at this point in the history
  • Loading branch information
YushaArif99 committed Sep 19, 2024
1 parent ba475c1 commit b442206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivy/stateful/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,10 +765,10 @@ def sync_models(
original_model
)
)
if _is_submodule(original_model, "keras"):
if _is_submodule(translated_model, "keras"):
sync_models_torch_and_tf(original_model, translated_model)

elif _is_submodule(original_model, "flax"):
elif _is_submodule(translated_model, "flax"):
sync_models_torch_and_jax(original_model, translated_model)
else:
raise ivy.utils.exceptions.IvyNotImplementedException(
Expand Down

0 comments on commit b442206

Please sign in to comment.