__init__.py 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Copyright (c) 2021 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.

from .fused_transformer import fused_multi_head_attention
from .fused_transformer import fused_feedforward
17
from .fused_transformer import fused_multi_transformer
18
from .fused_matmul_bias import fused_matmul_bias, fused_linear
19
from .fused_transformer import fused_bias_dropout_residual_layer_norm
20
from .fused_ec_moe import fused_ec_moe
S
ShenLiang 已提交
21
from .fused_dropout_add import fused_dropout_add
22
from .fused_gate_attention import fused_gate_attention
23
from .fused_rotary_position_embedding import fused_rotary_position_embedding
24

25

26 27 28 29
__all__ = [
    'fused_multi_head_attention',
    'fused_feedforward',
    'fused_multi_transformer',
30 31
    'fused_matmul_bias',
    'fused_linear',
32
    'fused_bias_dropout_residual_layer_norm',
33
    'fused_ec_moe',
S
ShenLiang 已提交
34
    'fused_dropout_add',
35
    'fused_rotary_position_embedding',
36
]