Skip to content

Commit

Permalink
kerastensor move location
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkoren21 committed Jan 2, 2025
1 parent 38840da commit 5791703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnx2kerastl/reshape_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
import tensorflow as tf
from keras import backend as K
from keras.engine.keras_tensor import KerasTensor
from tensorflow.python.keras.engine.keras_tensor import KerasTensor
from keras.layers import SlicingOpLambda, Lambda
from typing import Union
from .utils import is_numpy, ensure_tf_type, unsqueeze_tensors_of_rank_one
Expand Down
2 changes: 1 addition & 1 deletion onnx2kerastl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import numpy as np
import keras
from keras.engine.keras_tensor import KerasTensor
from tensorflow.python.keras.engine.keras_tensor import KerasTensor
from keras_data_format_converter import convert_channels_first_to_last
import tensorflow as tf
from.tfops_funcs import tf_reshape
Expand Down

0 comments on commit 5791703

Please sign in to comment.