__init__.py 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
#
# 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
#
#     http://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.

15
from .all_gather import all_gather
16
from .all_reduce import all_reduce
17
from .all_to_all import alltoall, alltoall_single
18 19
from .broadcast import broadcast
from .reduce import reduce
20
from .reduce_scatter import reduce_scatter
21
from .recv import recv
22 23
from .scatter import scatter
from .send import send
24

25
__all__ = [
26 27 28 29 30 31 32 33 34 35
    "all_gather",
    "all_reduce",
    "alltoall",
    "alltoall_single",
    "broadcast",
    "reduce",
    "reduce_scatter",
    "recv",
    "scatter",
    "send",
36
]