Skip to content

Commit

Permalink
spec bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davek44 committed Jun 20, 2024
1 parent cf70c86 commit d48fb2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/baskerville/seqnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,11 @@ def __call__(self, x, head_i=None, dtype="float32"):
else:
model = self.model

if isinstance(x, np.ndarray):
preds = model(x).numpy().astype(dtype)
else:
preds = model(x)
preds = model(x).numpy().astype(dtype)
# if isinstance(x, np.ndarray):
# preds = model(x).numpy().astype(dtype)
# else:
# preds = model(x)
return preds

def predict(
Expand Down

0 comments on commit d48fb2c

Please sign in to comment.