diff --git a/ivy/functional/backends/mxnet/general.py b/ivy/functional/backends/mxnet/general.py index d72d978d7d5a3..c469b517c47c1 100644 --- a/ivy/functional/backends/mxnet/general.py +++ b/ivy/functional/backends/mxnet/general.py @@ -1,5 +1,5 @@ import mxnet as mx -from typing import Union, Optional, Tuple +from typing import Union, Optional import numpy as np from ivy.utils.exceptions import IvyNotImplementedException diff --git a/ivy/functional/backends/paddle/general.py b/ivy/functional/backends/paddle/general.py index d76f2babc1404..da6676fa205c1 100644 --- a/ivy/functional/backends/paddle/general.py +++ b/ivy/functional/backends/paddle/general.py @@ -1,7 +1,7 @@ """Collection of Paddle general functions, wrapped to fit Ivy syntax and signature.""" # global from numbers import Number -from typing import Optional, Union, Sequence, Callable, List, Tuple +from typing import Optional, Union, Sequence, Callable, List import paddle import numpy as np import multiprocessing as _multiprocessing diff --git a/ivy/functional/backends/tensorflow/general.py b/ivy/functional/backends/tensorflow/general.py index 366571c6a2df6..21ae8f76d7f6b 100644 --- a/ivy/functional/backends/tensorflow/general.py +++ b/ivy/functional/backends/tensorflow/general.py @@ -6,7 +6,7 @@ """ # global -from typing import Optional, Union, Sequence, Callable, Tuple +from typing import Optional, Union, Sequence, Callable import numpy as np import multiprocessing as _multiprocessing from numbers import Number diff --git a/ivy/functional/backends/torch/general.py b/ivy/functional/backends/torch/general.py index ef914e4b1b662..be9199b5ee7de 100644 --- a/ivy/functional/backends/torch/general.py +++ b/ivy/functional/backends/torch/general.py @@ -1,10 +1,9 @@ """Collection of PyTorch general functions, wrapped to fit Ivy syntax and signature.""" # global from functools import reduce as _reduce -import math from numbers import Number from operator import mul -from typing import Optional, Union, Sequence, Callable, List, Tuple +from typing import Optional, Union, Sequence, Callable, List try: import functorch diff --git a/ivy/functional/frontends/jax/__init__.py b/ivy/functional/frontends/jax/__init__.py index dcf52ce06390f..6c5e6868f8700 100644 --- a/ivy/functional/frontends/jax/__init__.py +++ b/ivy/functional/frontends/jax/__init__.py @@ -7,7 +7,7 @@ from . import devicearray from .devicearray import DeviceArray from . import general_functions -from .general_functions import * +from .general_functions import ivy from . import lax from . import nn from . import numpy diff --git a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_manipulation.py b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_manipulation.py index 152759a264cb2..64acb69e58391 100644 --- a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_manipulation.py +++ b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_manipulation.py @@ -470,7 +470,7 @@ def test_paddle_broadcast_to( x=x[0], shape=shape, ) - + @st.composite def _gather_helper(draw): @@ -518,8 +518,8 @@ def test_paddle_gather( param=param[0], indices=indices[0], ) - - + + # flip @st.composite def _dtype_x_axis(draw, **kwargs):