Skip to content

Commit

Permalink
fix keras input layer import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ofirgo committed Jan 1, 2025
1 parent d0e6fd6 commit 42be1cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import numpy as np
from keras.applications.densenet import DenseNet121
from keras.applications.mobilenet_v2 import MobileNetV2
from keras_core.src.layers import InputLayer
from keras.src.engine.input_layer import InputLayer

from packaging import version

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from keras import Input
from keras.layers import Conv2D
from keras_core.src.layers import InputLayer
from keras.src.engine.input_layer import InputLayer

from mct_quantizers import KerasActivationQuantizationHolder
from model_compression_toolkit.core import QuantizationConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from keras.layers import Conv2D, Conv2DTranspose, DepthwiseConv2D, Dense, BatchNormalization, ReLU, Input
import numpy as np
from keras_core.src.layers import InputLayer
from keras.src.engine.input_layer import InputLayer

from model_compression_toolkit.core import QuantizationConfig
from model_compression_toolkit.core.common.graph.virtual_activation_weights_node import VirtualSplitActivationNode, \
Expand Down

0 comments on commit 42be1cb

Please sign in to comment.