1 Star 0 Fork 3

homer_1943/annotated_deep_learning_paper_implementations

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
Varuna Jayasiri 提交于 2023-05-10 17:00 . ja translation
clean: ## Clean
rm -rf dist
rm -rf build
rm -rf *.egg-info
build: clean ## Build PIPy Package
python setup.py sdist bdist_wheel
check-content: build ## List contents of PIPy Package
tar -tvf dist/*.tar.gz
check: build ## Check PIPy Package
twine check dist/*
upload: build ## Upload PIPy Package
twine upload dist/*
install: ## Install from repo
pip install -e .
uninstall: ## Uninstall
pip uninstall labml_nn
docs-si: ## Sinhalese Translation
rm -rf docs/si
mv docs/zh docs_zh
mv docs/ja docs_ja
cp -r docs docs_si
mv docs_si docs/si
mv docs_zh docs/zh
mv docs_ja docs/ja
cd labml_nn; pylit --translate si --translate_cache ../translate_cache --remove_empty_sections --title_md -t ../../../pylit/templates/nn -d ../docs/si -w *
docs-zh: ## Chinese Translation
rm -rf docs/zh
mv docs/si docs_si
mv docs/ja docs_ja
cp -r docs docs_zh
mv docs_si docs/si
mv docs_zh docs/zh
mv docs_ja docs/ja
cd labml_nn; pylit --translate zh --translate_cache ../translate_cache --remove_empty_sections --title_md -t ../../../pylit/templates/nn -d ../docs/zh -w *
docs-ja: ## Japanese Translation
rm -rf docs/ja
mv docs/si docs_si
mv docs/zh docs_zh
cp -r docs docs_ja
mv docs_si docs/si
mv docs_zh docs/zh
mv docs_ja docs/ja
cd labml_nn; pylit --translate ja --translate_cache ../translate_cache --remove_empty_sections --title_md -t ../../../pylit/templates/nn -d ../docs/ja -w *
docs: ## Render annotated HTML
mv docs/zh docs_zh
mv docs/si docs_si
mv docs/ja docs_ja
find ./docs/ -name "*.html" -type f -delete
find ./docs/ -name "*.svg" -type f -delete
mv docs_si docs/si
mv docs_zh docs/zh
mv docs_ja docs/ja
python utils/sitemap.py
python utils/diagrams.py
cd labml_nn; pylit --remove_empty_sections --title_md -t ../../../pylit/templates/nn -d ../docs -w *
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
.PHONY: clean build check upload help docs
.DEFAULT_GOAL := help
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/homer-1943/annotated_deep_learning_paper_implementations.git
[email protected]:homer-1943/annotated_deep_learning_paper_implementations.git
homer-1943
annotated_deep_learning_paper_implementations
annotated_deep_learning_paper_implementations
master

搜索帮助