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 869 B

4 years ago
12345678910111213141516171819202122232425262728293031323334
  1. #! /usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. """
  4. TensorLayer provides rich layer implementations trailed for
  5. various benchmarks and domain-specific problems. In addition, we also
  6. support transparent access to native TensorFlow parameters.
  7. For example, we provide not only layers for local response normalization, but also
  8. layers that allow user to apply ``tf.ops.lrn`` on ``network.outputs``.
  9. More functions can be found in `TensorFlow API <https://www.tensorflow.org/versions/master/api_docs/index.html>`__.
  10. """
  11. from tensorlayer.lazy_imports import LazyImport
  12. from .tl_logging import *
  13. # Lazy Imports
  14. contrib = LazyImport("tensorlayer.logging.contrib")
  15. __all__ = [
  16. # tl_logging
  17. 'DEBUG',
  18. 'debug',
  19. 'ERROR',
  20. 'error',
  21. 'FATAL',
  22. 'fatal',
  23. 'INFO',
  24. 'info',
  25. 'WARN',
  26. 'warn',
  27. 'warning',
  28. 'set_verbosity',
  29. 'get_verbosity'
  30. ]

TensorLayer3.0 是一款兼容多种深度学习框架为计算后端的深度学习库。计划兼容TensorFlow, Pytorch, MindSpore, Paddle.