Removed np.int usage (#20378)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-10-11 10:36:00 +04:00
1 parent 8020530e67
commit ba5878ed2f
1 file changed
+1 -1
@@ -296,7 +296,7 @@ def get_shape_from_slice(input_shape: np.ndarray, slices: List) -> np.ndarray:
in_idx += 1
elif s is np.newaxis:
output_shape.append(1)
elif type(s) in [int, np.int, np.int32, np.int64]: # shrink_axis
elif type(s) in [int, np.int32, np.int64]: # shrink_axis
in_idx += 1
elif s is Ellipsis:
for idx in range(num_ellipsis_inserts):