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

4 years ago
1234567891011121314151617181920212223242526272829303132333435
  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 -i examples/*.py
  15. autoflake -i tensorlayer/*.py
  16. autoflake -i tensorlayer/**/*.py
  17. isort -rc examples
  18. isort -rc tensorlayer
  19. yapf -i examples/*.py
  20. yapf -i tensorlayer/*.py
  21. yapf -i tensorlayer/**/*.py
  22. install3:
  23. pip3 install -U . --user
  24. TAG = tensorlayer-docs:snaphot
  25. doc:
  26. docker build --rm -t $(TAG) -f docker/docs/Dockerfile .

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