Typo in mlx tensor support (#29509)

Potential typo in mlx support
This commit is contained in:
Pedro Cuenca 2024-03-08 10:47:44 +01:00 committed by GitHub
parent b338a6c3b8
commit 631fa7bf6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,7 +242,7 @@ def is_jax_tensor(x):
def _is_mlx(x):
import mx.core as mx
import mlx.core as mx
return isinstance(x, mx.array)