__init__.py 3.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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.

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
from .common import fc  # noqa: F401
from .common import deform_conv2d  # noqa: F401

from ...fluid.layers import batch_norm  # noqa: F401
from ...fluid.layers import bilinear_tensor_product  # noqa: F401
from ...fluid.layers import case  # noqa: F401
from ...fluid.layers import cond  # noqa: F401
from ...fluid.layers import conv2d  # noqa: F401
from ...fluid.layers import conv2d_transpose  # noqa: F401
from ...fluid.layers import conv3d  # noqa: F401
from ...fluid.layers import conv3d_transpose  # noqa: F401
from ...fluid.layers import create_parameter  # noqa: F401
from ...fluid.layers import crf_decoding  # noqa: F401
from ...fluid.layers import data_norm  # noqa: F401
from ...fluid.layers import group_norm  # noqa: F401
from ...fluid.layers import instance_norm  # noqa: F401
from ...fluid.layers import layer_norm  # noqa: F401
from ...fluid.layers import multi_box_head  # noqa: F401
from ...fluid.layers import nce  # noqa: F401
from ...fluid.layers import prelu  # noqa: F401
from ...fluid.layers import py_func  # noqa: F401
from ...fluid.layers import row_conv  # noqa: F401
from ...fluid.layers import spectral_norm  # noqa: F401
from ...fluid.layers import switch_case  # noqa: F401
from ...fluid.layers import while_loop  # noqa: F401

from ...fluid.input import embedding  # noqa: F401
from ...fluid.contrib.layers import sparse_embedding  # noqa: F401
43
from ...fluid.layers import continuous_value_model  # noqa: F401
44
from ...fluid.layers import StaticRNN  # noqa: F401
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

from ...fluid.layers.sequence_lod import sequence_conv  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_softmax  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_pool  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_concat  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_first_step  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_last_step  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_slice  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_expand  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_expand_as  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_pad  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_unpad  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_reshape  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_scatter  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_enumerate  # noqa: F401
from ...fluid.layers.sequence_lod import sequence_reverse  # noqa: F401

62
__all__ = [  #noqa
63 64 65 66
    'fc',
    'batch_norm',
    'embedding',
    'bilinear_tensor_product',
67
    'case',
68
    'cond',
69 70 71 72 73 74
    'conv2d',
    'conv2d_transpose',
    'conv3d',
    'conv3d_transpose',
    'crf_decoding',
    'data_norm',
75
    'deform_conv2d',
76 77 78 79 80 81
    'group_norm',
    'instance_norm',
    'layer_norm',
    'multi_box_head',
    'nce',
    'prelu',
82
    'py_func',
83 84
    'row_conv',
    'spectral_norm',
85
    'switch_case',
86
    'while_loop',
87
    'sparse_embedding',
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    'sequence_conv',
    'sequence_softmax',
    'sequence_pool',
    'sequence_concat',
    'sequence_first_step',
    'sequence_last_step',
    'sequence_slice',
    'sequence_expand',
    'sequence_expand_as',
    'sequence_pad',
    'sequence_unpad',
    'sequence_reshape',
    'sequence_scatter',
    'sequence_enumerate',
    'sequence_reverse',
103
    'StaticRNN',
104
]