You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 1.8 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright 2020 Huawei Technologies Co., Ltd
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # ============================================================================
  15. """
  16. Layer.
  17. The high-level components(Cells) used to construct the neural network.
  18. """
  19. from . import activation, normalization, container, conv, lstm, basic, embedding, pooling, image, quant, math, \
  20. combined, timedistributed, thor_layer, rnns
  21. from .activation import *
  22. from .normalization import *
  23. from .container import *
  24. from .conv import *
  25. from .lstm import *
  26. from .rnns import *
  27. from .basic import *
  28. from .embedding import *
  29. from .pooling import *
  30. from .image import *
  31. from .quant import *
  32. from .math import *
  33. from .combined import *
  34. from .timedistributed import *
  35. from .thor_layer import DenseThor, Conv2dThor, EmbeddingThor, EmbeddingLookupThor
  36. __all__ = []
  37. __all__.extend(activation.__all__)
  38. __all__.extend(normalization.__all__)
  39. __all__.extend(container.__all__)
  40. __all__.extend(conv.__all__)
  41. __all__.extend(lstm.__all__)
  42. __all__.extend(rnns.__all__)
  43. __all__.extend(basic.__all__)
  44. __all__.extend(embedding.__all__)
  45. __all__.extend(pooling.__all__)
  46. __all__.extend(image.__all__)
  47. __all__.extend(quant.__all__)
  48. __all__.extend(math.__all__)
  49. __all__.extend(combined.__all__)
  50. __all__.extend(timedistributed.__all__)
  51. __all__.extend(thor_layer.__all__)