mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
adding naive jax and libraries and make adjustments
This commit is contained in:
13
engine/jax/__init__.py
Normal file
13
engine/jax/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""JAX-compatible training and environment modules for PHANTOM."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
try:
|
||||
import jax # noqa: F401
|
||||
import jax.numpy as jnp # noqa: F401
|
||||
|
||||
JAX_AVAILABLE = True
|
||||
except ImportError:
|
||||
JAX_AVAILABLE = False
|
||||
|
||||
__all__ = ["JAX_AVAILABLE"]
|
||||
Reference in New Issue
Block a user