Skip to content

Commit 3b1c053

Browse files
committed
fix is_symbolic_tensor
1 parent af38458 commit 3b1c053

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bayesflow/utils/tensor_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ def is_symbolic_tensor(x: Tensor) -> bool:
9797
if keras.utils.is_keras_tensor(x):
9898
return True
9999

100-
if not keras.ops.is_tensor(x):
101-
return False
102-
103100
match keras.backend.backend():
104101
case "jax":
105102
import jax

0 commit comments

Comments
 (0)