2022-09-22 12:26:48 -07:00
|
|
|
# Copyright 2020 The JAX Authors.
|
2020-08-17 20:11:43 +02:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2023-02-13 12:57:15 -08:00
|
|
|
from jax._src.maps import (
|
|
|
|
AxisName as AxisName,
|
|
|
|
ResourceSet as ResourceSet,
|
|
|
|
SerialLoop as SerialLoop,
|
|
|
|
make_xmap_callable as make_xmap_callable,
|
|
|
|
serial_loop as serial_loop,
|
|
|
|
xmap as xmap,
|
|
|
|
xmap_p as xmap_p,
|
|
|
|
_prepare_axes as _prepare_axes,
|
|
|
|
)
|
2023-03-10 10:07:37 -08:00
|
|
|
from jax._src.mesh import (
|
|
|
|
EMPTY_ENV as EMPTY_ENV,
|
|
|
|
ResourceEnv as ResourceEnv,
|
|
|
|
thread_resources as thread_resources,
|
|
|
|
)
|