代码拉取完成,页面将自动刷新
同步操作将从 AI4Science/annotated_deep_learning_paper_implementations 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。