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

__all__ = [
    'fc',
    'batch_norm',
    'embedding',
    'bilinear_tensor_product',
20
    'case',
21
    'cond',
22 23 24 25 26 27 28
    'conv2d',
    'conv2d_transpose',
    'conv3d',
    'conv3d_transpose',
    'create_parameter',
    'crf_decoding',
    'data_norm',
29
    'deform_conv2d',
30 31 32 33 34 35
    'group_norm',
    'instance_norm',
    'layer_norm',
    'multi_box_head',
    'nce',
    'prelu',
36
    'py_func',
37 38
    'row_conv',
    'spectral_norm',
39
    'switch_case',
40
    'while_loop',
41
    'sparse_embedding',
42 43
]

44
from .common import fc  #DEFINE_ALIAS
45
from .common import deform_conv2d  #DEFINE_ALIAS
46

47 48
from ...fluid.layers import batch_norm  #DEFINE_ALIAS
from ...fluid.layers import bilinear_tensor_product  #DEFINE_ALIAS
49
from ...fluid.layers import case  #DEFINE_ALIAS
50
from ...fluid.layers import cond  #DEFINE_ALIAS
51 52 53 54 55 56 57 58 59 60 61 62 63
from ...fluid.layers import conv2d  #DEFINE_ALIAS
from ...fluid.layers import conv2d_transpose  #DEFINE_ALIAS
from ...fluid.layers import conv3d  #DEFINE_ALIAS
from ...fluid.layers import conv3d_transpose  #DEFINE_ALIAS
from ...fluid.layers import create_parameter  #DEFINE_ALIAS
from ...fluid.layers import crf_decoding  #DEFINE_ALIAS
from ...fluid.layers import data_norm  #DEFINE_ALIAS
from ...fluid.layers import group_norm  #DEFINE_ALIAS
from ...fluid.layers import instance_norm  #DEFINE_ALIAS
from ...fluid.layers import layer_norm  #DEFINE_ALIAS
from ...fluid.layers import multi_box_head  #DEFINE_ALIAS
from ...fluid.layers import nce  #DEFINE_ALIAS
from ...fluid.layers import prelu  #DEFINE_ALIAS
64
from ...fluid.layers import py_func  #DEFINE_ALIAS
65 66
from ...fluid.layers import row_conv  #DEFINE_ALIAS
from ...fluid.layers import spectral_norm  #DEFINE_ALIAS
67
from ...fluid.layers import switch_case  #DEFINE_ALIAS
68
from ...fluid.layers import while_loop  #DEFINE_ALIAS
69 70

from ...fluid.input import embedding  #DEFINE_ALIAS
71
from ...fluid.contrib.layers import sparse_embedding  #DEFINE_ALIAS