mirror of
https://github.com/labmlai/annotated_deep_learning_paper_implementations.git
synced 2025-10-29 17:57:14 +08:00
Makefile
This commit is contained in:
4
Makefile
4
Makefile
@ -24,6 +24,10 @@ uninstall: ## Uninstall
|
||||
docs: ## Render annotated HTML
|
||||
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.
|
||||
@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
|
||||
out = torch.stack(out)
|
||||
s = torch.stack(s)
|
||||
|
||||
|
||||
return out, s
|
||||
|
||||
Reference in New Issue
Block a user