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.

Makefile 715 B

4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. default:
  2. @echo "Usage:"
  3. @echo "\tmake lint # run pylint"
  4. @echo "\tmake format # run yapf, autoflake and isort"
  5. @echo "\tmake install3 # install tensorlayer in current workspace with pip3"
  6. lint:
  7. pylint examples/*.py
  8. pylint tensorlayer
  9. test:
  10. python3 tests/models/test_model_core.py
  11. python3 tests/layers/test_layernode.py
  12. python3 tests/files/test_utils_saveload.py
  13. format:
  14. autoflake -ir examples
  15. autoflake -ir tensorlayer
  16. autoflake -ir tests
  17. isort -rc examples
  18. isort -rc tensorlayer
  19. isort -rc tests
  20. yapf -ir examples
  21. yapf -ir tensorlayer
  22. yapf -ir tests
  23. install3:
  24. pip3 install -U . --user
  25. TAG = tensorlayer-docs:snaphot
  26. doc:
  27. docker build --rm -t $(TAG) -f docker/docs/Dockerfile .

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