Skip to content

Commit

Permalink
Add minimal technical report draft
Browse files Browse the repository at this point in the history
  • Loading branch information
vdumoulin committed Feb 26, 2016
1 parent d991f01 commit e86824f
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Makefile
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
*.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
Expand Down
10 changes: 10 additions & 0 deletions bibliography.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@article{lecun1998gradient,
title={Gradient-based learning applied to document recognition},
author={LeCun, Yann and Bottou, L{\'e}on and Bengio, Yoshua and Haffner, Patrick},
journal={Proceedings of the IEEE},
volume={86},
number={11},
pages={2278--2324},
year={1998},
publisher={IEEE}
}
17 changes: 15 additions & 2 deletions bin/generate_makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ def make_header():
'.SECONDARY : \n')


def make_report_section():
return ('conv_arithmetic.pdf : conv_arithmetic.tex\n'
'\tpdflatex conv_arithmetic\n'
'\tpdflatex conv_arithmetic\n'
'\tbibtex conv_arithmetic\n'
'\tpdflatex conv_arithmetic\n'
'\tpdflatex conv_arithmetic\n\n'
'.PHONY : clean\n'
'clean : \n'
'\trm -f conv_arithmetic.{aux,bbl,blg,log}\n')


def make_gif_section():
rules = []
for name, config in iteritems(animations):
Expand Down Expand Up @@ -92,8 +104,9 @@ def make_pdf_section():

def main():
with open('Makefile', 'w') as makefile:
makefile.write('\n'.join([make_header(), make_gif_section(),
make_png_section(), make_pdf_section()]))
makefile.write('\n'.join([make_report_section(), make_header(),
make_gif_section(), make_png_section(),
make_pdf_section()]))


if __name__ == "__main__":
Expand Down
31 changes: 31 additions & 0 deletions conv_arithmetic.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
\documentclass{article}
\usepackage{amsmath,amsfonts}
\usepackage{authblk}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage{natbib}
\usepackage{xcolor}

\definecolor{red}{RGB}{220,50,47}

\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}}

\title{A guide to convolution arithmetic for deep learning}
\author[1]{Vincent Dumoulin\thanks{[email protected]}}
\author[1]{Francesco Visin\thanks{[email protected]}}
\affil[1]{MILA, Universit\'{e} de Montr\'{e}al}
\date{\today}

\begin{document}

\maketitle

\begin{abstract}
\todo{WRITEME} \cite{lecun1998gradient}.
\end{abstract}

\bibliography{bibliography}
\bibliographystyle{natbib}
\end{document}

0 comments on commit e86824f

Please sign in to comment.