Skip to content

Commit

Permalink
Fix relative path import
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrizian committed Sep 21, 2023
1 parent c6c8a8b commit 5d44a31
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 26 deletions.
3 changes: 1 addition & 2 deletions qa/common/gen_ensemble_model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@

import numpy as np
import test_util as tu

from .gen_common import np_to_model_dtype
from gen_common import np_to_model_dtype

BASIC_ENSEMBLE_TYPES = ["simple", "sequence", "fan"]

Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_dyna_sequence_implicit_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
import os

import numpy as np

from .gen_common import np_to_model_dtype, np_to_onnx_dtype, np_to_trt_dtype
from gen_common import np_to_model_dtype, np_to_onnx_dtype, np_to_trt_dtype

FLAGS = None
np_dtype_string = np.dtype(object)
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_dyna_sequence_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
import os

import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_identity_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

import gen_ensemble_model_utils as emu
import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_implicit_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

import gen_ensemble_model_utils as emu
import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_torch_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

import gen_ensemble_model_utils as emu
import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_noshape_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
from builtins import range

import numpy as np

from .gen_common import np_to_model_dtype, np_to_tf_dtype
from gen_common import np_to_model_dtype, np_to_tf_dtype

FLAGS = None
np_dtype_string = np.dtype(object)
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_ragged_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
import os

import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_reshape_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

import gen_ensemble_model_utils as emu
import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_sequence_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@

import gen_ensemble_model_utils as emu
import numpy as np

from .gen_common import (
from gen_common import (
np_to_model_dtype,
np_to_onnx_dtype,
np_to_tf_dtype,
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_trt_data_dependent_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
import numpy as np
import tensorrt as trt
import test_util as tu

from .gen_common import np_to_model_dtype, np_to_trt_dtype
from gen_common import np_to_model_dtype, np_to_trt_dtype


# The 'nonzero' model that we use for data dependent shape is naturally
Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_trt_format_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
import numpy as np
import tensorrt as trt
import test_util as tu

from .gen_common import np_to_model_dtype, np_to_trt_dtype
from gen_common import np_to_model_dtype, np_to_trt_dtype

np_dtype_string = np.dtype(object)

Expand Down
3 changes: 1 addition & 2 deletions qa/common/gen_qa_trt_plugin_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@

import numpy as np
import tensorrt as trt

from .gen_common import np_to_model_dtype, np_to_trt_dtype
from gen_common import np_to_model_dtype, np_to_trt_dtype

np_dtype_string = np.dtype(object)

Expand Down

0 comments on commit 5d44a31

Please sign in to comment.