Skip to content

Commit

Permalink
tf_keras in test_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
swashko committed Jul 25, 2024
1 parent 992c466 commit e23bca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_modelscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import tensorflow as tf
import tf_keras as keras
from typing import Any, List, Set, Dict
from tests.test_utils import (
from test_utils import (
generate_dill_unsafe_file,
generate_unsafe_pickle_file,
MaliciousModule,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import torch
import torch.nn as nn
import tensorflow as tf
from tensorflow import keras
import tf_keras as keras


class MaliciousModule(keras.Model): # type: ignore
Expand Down

0 comments on commit e23bca2

Please sign in to comment.