Skip to content

Commit

Permalink
fix dataset tests for JAX
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsKue committed Jun 19, 2024
1 parent cf8d420 commit f388b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_datasets/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class Model(keras.Model):
def call(self, *args, **kwargs):
pass

def compute_loss(self, **kwargs):
def compute_loss(self, *args, **kwargs):
return keras.ops.zeros(())

model = Model()
model.compile(optimizer=None)
model.compile()

return model

Expand Down

0 comments on commit f388b74

Please sign in to comment.