mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 03:46:06 +00:00
Use PEP484-style exports in several submodules
This commit is contained in:
parent
df2e9c3836
commit
5cc689976f
@ -13,6 +13,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
from jax._src.custom_batching import (
|
||||
custom_vmap,
|
||||
sequential_vmap,
|
||||
custom_vmap as custom_vmap,
|
||||
sequential_vmap as sequential_vmap,
|
||||
)
|
||||
|
@ -13,5 +13,5 @@
|
||||
# limitations under the License.
|
||||
|
||||
from jax._src.custom_transpose import (
|
||||
custom_transpose,
|
||||
custom_transpose as custom_transpose,
|
||||
)
|
||||
|
@ -12,4 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from jax._src.distributed import (initialize, shutdown)
|
||||
from jax._src.distributed import (
|
||||
initialize as initialize,
|
||||
shutdown as shutdown,
|
||||
)
|
||||
|
@ -12,4 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from jax._src.dlpack import (to_dlpack, from_dlpack, SUPPORTED_DTYPES)
|
||||
from jax._src.dlpack import (
|
||||
to_dlpack as to_dlpack,
|
||||
from_dlpack as from_dlpack,
|
||||
SUPPORTED_DTYPES as SUPPORTED_DTYPES,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user