mirror of
https://github.com/labmlai/annotated_deep_learning_paper_implementations.git
synced 2025-10-30 02:08:50 +08:00
Makefile
This commit is contained in:
4
Makefile
4
Makefile
@ -24,6 +24,10 @@ uninstall: ## Uninstall
|
|||||||
docs: ## Render annotated HTML
|
docs: ## Render annotated HTML
|
||||||
python ../../pylit/pylit.py -t ../../pylit/template_docs.html -d html -w labml_nn
|
python ../../pylit/pylit.py -t ../../pylit/template_docs.html -d html -w labml_nn
|
||||||
|
|
||||||
|
pages: ## Copy to lab-ml site
|
||||||
|
@cd ../lab-ml.github.io; git pull
|
||||||
|
cp -r html/* ../lab-ml.github.io/
|
||||||
|
|
||||||
help: ## Show this help.
|
help: ## Show this help.
|
||||||
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
|
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
|
||||||
|
|
||||||
|
|||||||
@ -150,5 +150,5 @@ class RHN(Module):
|
|||||||
# Stack the outputs and states
|
# Stack the outputs and states
|
||||||
out = torch.stack(out)
|
out = torch.stack(out)
|
||||||
s = torch.stack(s)
|
s = torch.stack(s)
|
||||||
|
|
||||||
return out, s
|
return out, s
|
||||||
|
|||||||
Reference in New Issue
Block a user