Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
1fce8992
提交
1fce8992
authored
8月 21, 2014
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make content fit on slides
上级
17f20e4e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
58 行增加
和
30 行删除
+58
-30
presentation.tex
doc/omlw2014/presentation.tex
+58
-30
没有找到文件。
doc/omlw2014/presentation.tex
浏览文件 @
1fce8992
...
@@ -67,7 +67,7 @@ Montréal, Canada \newline
...
@@ -67,7 +67,7 @@ Montréal, Canada \newline
\item
Dynamic type and memory management
\item
Dynamic type and memory management
\item
Slow execution
\item
Slow execution
\item
Easily extensible with C
\item
Easily extensible with C
\item
Popular in
*web development* and *scientific communities*
\item
Popular in
{
\em
web development
}
\
and
{
\em
scientific communities
}
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
...
@@ -88,7 +88,7 @@ Montréal, Canada \newline
...
@@ -88,7 +88,7 @@ Montréal, Canada \newline
\begin{itemize}
\begin{itemize}
\item
Elementwise computations
\item
Elementwise computations
\item
Linear algebra, Fourier transforms
\item
Linear algebra, Fourier transforms
\item
Pseudorandom number generators
, supporting many distributions
\item
Pseudorandom number generators
(many distributions)
\end{itemize}
\end{itemize}
\item
SciPy provides lots more, including
\item
SciPy provides lots more, including
...
@@ -196,23 +196,32 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
...
@@ -196,23 +196,32 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
\section
{
Theano
}
\section
{
Theano
}
% I think it is a good idea to make explicit the change into a new section -- PL
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
Description
}
\begin{frame}
{
Description
}
\begin{itemize}
\begin{itemize}
\item
Mathematical symbolic expression compiler
\item
Mathematical symbolic expression compiler
\item
Expressions mimic NumPy's syntax and semantics
(easier to use)
\item
Expressions mimic NumPy's syntax and semantics
\item
Dynamic C/CUDA code generation
\item
Dynamic C/CUDA code generation
\begin{itemize}
\begin{itemize}
\item
Can use other technologies to generate fast code: C/C++, CUDA, OpenCL, PyCUDA, Cython, Numba,
\ldots
\item
C/C++, CUDA, OpenCL, PyCUDA, Cython, Numba,
\ldots
\end{itemize}
\item
Efficient symbolic differeniation
\begin{itemize}
\item
Theano computes derivatives of functions with one or many inputs.
\item
Also supports computation of the Jacobian, Hessian, R and L op.
\end{itemize}
\end{itemize}
\item
Efficient symbolic differentiation
%\begin{itemize}
% \item Derivatives of functions with one or many inputs.
% \item Computation of the Jacobian, Hessian, R and L op.
%\end{itemize}
\item
Speed and stability optimizations
\item
Speed and stability optimizations
\begin{itemize}
\begin{itemize}
\item
Gives the right answer for ``
$
\log
(
1
+
x
)
$
'' even if
$
x
$
is really tiny.
\item
Gives the right answer for ``
$
\log
(
1
+
x
)
$
'' even if
$
x
$
is really tiny.
\end{itemize}
\end{itemize}
\item
Extensive unit-testing and self-verification
%\begin{itemize}
% \item Detects and diagnoses many types of errors
%\end{itemize}
\item
Works on Linux, OS X and Windows
\item
Works on Linux, OS X and Windows
\item
Transparent use of a GPU
\item
Transparent use of a GPU
\begin{itemize}
\begin{itemize}
...
@@ -220,11 +229,6 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
...
@@ -220,11 +229,6 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
\item
Still in experimental state on Windows
\item
Still in experimental state on Windows
\end{itemize}
\end{itemize}
\item
Extensive unit-testing and self-verification
\begin{itemize}
\item
Detects and diagnoses many types of errors
\end{itemize}
% \item Statically typed and purely functional
% \item Statically typed and purely functional
\item
Sparse operations (CPU only)
\item
Sparse operations (CPU only)
\end{itemize}
\end{itemize}
...
@@ -236,7 +240,8 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
...
@@ -236,7 +240,8 @@ Our target is the holy grail: \begin{bf}fast to develop\end{bf} and \begin{bf}fa
\frametitle
{
Simple example
}
\frametitle
{
Simple example
}
\lstset
{
language=Python,
\lstset
{
language=Python,
commentstyle=
\itshape\color
{
blue
}
commentstyle=
\itshape\color
{
blue
}
,
stringstyle=
\color
{
violet
}
,
}
}
\begin{lstlisting}
\begin{lstlisting}
import theano
import theano
...
@@ -279,9 +284,12 @@ print f([0, 1, 2])
...
@@ -279,9 +284,12 @@ print f([0, 1, 2])
\section
{
Pylearn2
}
\section
{
Pylearn2
}
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
Pylearn2 details
}
\begin{frame}
{
Pylearn2 details
}
\begin{itemize}
The core library contains a collection of:
\item
The core library contains a collection of:
\begin{itemize}
\begin{itemize}
\item
Training algorithms (i.e., Stochastic and Batch GD, model-specific rules)
\item
Training algorithms (i.e., Stochastic and Batch GD, model-specific rules)
\begin{itemize}
\begin{itemize}
...
@@ -289,22 +297,21 @@ print f([0, 1, 2])
...
@@ -289,22 +297,21 @@ print f([0, 1, 2])
\item
Monitor, history of (functions of) parameters and hyperparameters on different data sets (training, validation, test)
\item
Monitor, history of (functions of) parameters and hyperparameters on different data sets (training, validation, test)
\item
Termination criteria, determine when to stop training
\item
Termination criteria, determine when to stop training
\end{itemize}
\end{itemize}
\item
Training extensions, perform actions throughout the training process (e.g. early stopping)
\item
Training extensions, perform actions throughout the training process (e.g.
,
early stopping)
\item
Models (NNets, ConvNets, RBMs, k-means, PCA, SVMs)
\item
Models (NNets, ConvNets, RBMs, k-means, PCA, SVMs)
\item
Datasets (MNIST, CIFAR-10) and preprocessors (LCN, ZCA)
\item
Datasets (MNIST, CIFAR-10) and preprocessors (LCN, ZCA)
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
\begin{frame}
{
Pylearn2 details, continued
}
\begin{frame}
{
Pylearn2 details, continued
}
\begin{itemize}
\begin{itemize}
\item
Data specifications which give semantics to data
\item
Data specifications which give semantics to data
\begin{itemize}
\begin{itemize}
\item
IndexSpace, 1D integer array e.g. for labels
\item
IndexSpace, 1D integer array e.g.
\
for labels
\item
VectorSpace, 1D float array e.g. for softmax output
\item
VectorSpace, 1D float array e.g.
\
for softmax output
\item
Conv2DSpace, 3D float32 arrays e.g. for color image input
\item
Conv2DSpace, 3D float32 arrays e.g.
\
for color image input
\end{itemize}
\end{itemize}
\item
Allows for automatic conversion when needed e.g. labels to one-hot vectors, images to flattened vectors
\item
Allows for automatic conversion when needed e.g.
\
labels to one-hot vectors, images to flattened vectors
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
...
@@ -324,7 +331,12 @@ print f([0, 1, 2])
...
@@ -324,7 +331,12 @@ print f([0, 1, 2])
\begin{frame}
[fragile]
\begin{frame}
[fragile]
\frametitle
{
Simple example
}
\frametitle
{
Simple example
}
\lstset
{
commentstyle=
\itshape\color
{
blue
}
,basicstyle=
\tiny
}
% I know it is not Python, but YAML is not supported by listings
% close enough? -- PL
\lstset
{
language=python,
commentstyle=
\slshape\color
{
blue
}
,
stringstyle=
\color
{
violet
}
,
basicstyle=
\tiny\ttfamily
}
\begin{lstlisting}
\begin{lstlisting}
!obj:pylearn2.train.Train
{
!obj:pylearn2.train.Train
{
"dataset": !obj:pylearn2.datasets.dense
_
design
_
matrix.DenseDesignMatrix
&
dataset
{
"dataset": !obj:pylearn2.datasets.dense
_
design
_
matrix.DenseDesignMatrix
&
dataset
{
...
@@ -357,7 +369,9 @@ print f([0, 1, 2])
...
@@ -357,7 +369,9 @@ print f([0, 1, 2])
\frametitle
{
Simple example
}
\frametitle
{
Simple example
}
\lstset
{
language=python,
\lstset
{
language=python,
commentstyle=
\itshape\color
{
blue
}
commentstyle=
\itshape\color
{
blue
}
,
stringstyle=
\color
{
violet
}
,
basicstyle=
\small
}
}
\begin{lstlisting}
\begin{lstlisting}
# Use Pylearn2 to perform a linear transformation
# Use Pylearn2 to perform a linear transformation
...
@@ -377,11 +391,15 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
...
@@ -377,11 +391,15 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
\end{frame}
\end{frame}
\section
{
libgpuarray
}
\section
{
libgpuarray
}
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
libgpuarray: Design Goals
}
\begin{frame}
{
libgpuarray: Design Goals
}
\begin{itemize}
\begin{itemize}
\item
Have the base object in C to allow collaboration with more projects.
\item
Have the base object in C to allow collaboration with more projects.
\begin{itemize}
\begin{itemize}
\item
We want people from C, C++, ruby, R,
...
all use the same base GPU ndarray.
\item
We want people from C, C++, ruby, R,
\ldots
all use the same base GPU ndarray.
\end{itemize}
\end{itemize}
\item
Be compatible with CUDA and OpenCL.
\item
Be compatible with CUDA and OpenCL.
\item
Not too simple, (don’t support just matrix).
\item
Not too simple, (don’t support just matrix).
...
@@ -397,7 +415,7 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
...
@@ -397,7 +415,7 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
\begin{frame}
{
Project status?
}
\begin{frame}
{
Project status?
}
\begin{itemize}
\begin{itemize}
\item
Usable directly, but not all implementation available.
\item
Usable directly, but not all implementation available.
\item
Multiple GPU work.
\item
Multiple GPU work
s
.
\item
Is the next GPU array container for Theano and is working.
\item
Is the next GPU array container for Theano and is working.
\begin{itemize}
\begin{itemize}
\item
Not all Theano implementation available now.
\item
Not all Theano implementation available now.
...
@@ -408,8 +426,12 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
...
@@ -408,8 +426,12 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
\end{itemize}
\end{itemize}
\end{frame}
\end{frame}
\section
{
sharing
}
\section
{
Sharing
}
\begin{frame}
{
Simplifing code sharing
}
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
Simplifying code sharing
}
\begin{enumerate}
\begin{enumerate}
\item
<1-> License:
\begin{bf}
Suggest BSD
\end{bf}
as it is used by many software in our field.
\item
<1-> License:
\begin{bf}
Suggest BSD
\end{bf}
as it is used by many software in our field.
\begin{itemize}
\begin{itemize}
...
@@ -427,6 +449,9 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
...
@@ -427,6 +449,9 @@ print f([0.12, 0.12, 0.43, 0.32, 0.96])
\end{frame}
\end{frame}
\section
{
Features
}
\section
{
Features
}
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
OLD STUFF Strides
}
\begin{frame}
{
OLD STUFF Strides
}
\only
<1>
{
Strides is a way to specify how much memory to skip between each element of a dimension.
}
\only
<1>
{
Strides is a way to specify how much memory to skip between each element of a dimension.
}
...
@@ -476,8 +501,11 @@ Desired & yes & yes & any & all & both \\
...
@@ -476,8 +501,11 @@ Desired & yes & yes & any & all & both \\
%%\vspace{-1em}
%%\vspace{-1em}
\section
{
Conclusion
}
\section
{
Conclusion
}
\begin{frame}
\tableofcontents
[currentsection]
\end{frame}
\begin{frame}
{
Acknowledgment
}
\begin{frame}
{
Acknowledgment
s
}
\begin{itemize}
\begin{itemize}
\item
James Bergstra
\item
James Bergstra
\item
Compute Canada, RQCHP, NSERC, and Canada Research Chairs for providing funds or access to compute resources.
\item
Compute Canada, RQCHP, NSERC, and Canada Research Chairs for providing funds or access to compute resources.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论