This commit is contained in:
Varuna Jayasiri
2020-09-10 18:08:55 +05:30
parent 92aca4be32
commit ee0e9728e9
2 changed files with 5 additions and 1 deletions

View File

@ -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/##//'

View File

@ -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