Skip to content

Commit

Permalink
don't specify keras
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Granta committed Jun 18, 2024
1 parent c174d6e commit ae1735b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/quality-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
keras: "~=2.15.0"
tensorflow-probability: "~=0.23.0"
- tensorflow: "~=2.16.0"
keras: "~=2.16.0"
tensorflow-probability: "~=0.24.0"
exclude:
# These older versions of TensorFlow don't work with Python 3.10:
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/test_compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import numpy as np
import pytest
import tensorflow as tf
from tensorflow import keras

from gpflow.keras import tf_keras
from gpflow.kernels import RBF
Expand Down Expand Up @@ -66,7 +65,7 @@ def build_keras_functional_deep_gp(layer_sizes, num_data):
gp_layers = build_gp_layers(layer_sizes, num_data)
likelihood = Gaussian()

inputs = keras.Input(shape=(layer_sizes[0]))
inputs = tf_keras.Input(shape=(layer_sizes[0]))
x = inputs
for gp in gp_layers:
x = gp(x)
Expand Down

0 comments on commit ae1735b

Please sign in to comment.