Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
khurram-ghani committed Dec 14, 2023
1 parent 30fe281 commit 4f51581
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion tests/unit/acquisition/test_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import pytest
import tensorflow as tf
import tensorflow_probability as tfp
import tensorflow_probability as tfp

from tests.util.misc import empty_dataset, mk_dataset, quadratic, random_seed
from tests.util.models.gpflow.models import (
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_ask_tell_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

from typing import Mapping, Optional

import numpy.testing as npt
import numpy.testing as npt
import pytest
import tensorflow as tf
Expand Down
14 changes: 0 additions & 14 deletions trieste/acquisition/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import copy
from abc import ABC, abstractmethod
from collections import Counter
from collections import Counter
from collections.abc import Mapping
from dataclasses import dataclass
from typing import (
Expand All @@ -36,19 +35,6 @@
cast,
overload,
)
from typing import (
Any,
Callable,
Generic,
Optional,
Sequence,
Set,
Tuple,
TypeVar,
Union,
cast,
overload,
)

import numpy as np
from check_shapes import check_shapes, inherit_check_shapes
Expand Down
3 changes: 0 additions & 3 deletions trieste/acquisition/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import copy
import copy
import functools
from typing import Dict, Mapping, Tuple, Union

Expand All @@ -22,8 +21,6 @@
from ..data import Dataset
from ..models import ProbabilisticModelType
from ..observer import OBJECTIVE
from ..models import ProbabilisticModelType
from ..observer import OBJECTIVE
from ..space import SearchSpaceType
from ..types import Tag, TensorType
from ..utils.misc import LocalizedTag
Expand Down
1 change: 0 additions & 1 deletion trieste/ask_tell_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
from .types import State, Tag, TensorType
from .utils import Ok, Timer
from .utils.misc import LocalizedTag, get_value_for_tag, ignoring_local_tags
from .utils.misc import LocalizedTag, get_value_for_tag, ignoring_local_tags

StateType = TypeVar("StateType")
""" Unbound type variable. """
Expand Down
2 changes: 0 additions & 2 deletions trieste/bayesian_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@
from .data import Dataset
from .models import SupportsCovarianceWithTopFidelity, TrainableProbabilisticModel
from .objectives.utils import mk_batch_observer
from .objectives.utils import mk_batch_observer
from .observer import OBJECTIVE, Observer
from .space import SearchSpace
from .types import State, Tag, TensorType
from .utils import Err, Ok, Result, Timer
from .utils.misc import LocalizedTag, get_value_for_tag, ignoring_local_tags
from .utils.misc import LocalizedTag, get_value_for_tag, ignoring_local_tags

StateType = TypeVar("StateType")
""" Unbound type variable. """
Expand Down
2 changes: 0 additions & 2 deletions trieste/experimental/plotting/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@
from trieste.acquisition.multi_objective.dominance import non_dominated
from trieste.bayesian_optimizer import FrozenRecord, Record, StateType
from trieste.observer import OBJECTIVE
from trieste.observer import OBJECTIVE
from trieste.space import TaggedMultiSearchSpace
from trieste.types import TensorType
from trieste.utils import to_numpy
from trieste.utils.misc import LocalizedTag
from trieste.utils.misc import LocalizedTag


def create_grid(
Expand Down

0 comments on commit 4f51581

Please sign in to comment.