Upload
sergii-gavrylov
View
941
Download
1
Embed Size (px)
Citation preview
Theano tutorialpart 1
AACIMP 2015Sergii Gavrylov
Overview● Introduction
● Symbolic variables
● Functions
● Shared variables / updates
● Gradients
● Substitution
● Random streams
What is Theano?
● Python library
● Computer algebra system
● Compiler
Where to find more info?
● Website: deeplearning.net/software/theano
● User mailing list: groups.google.com/group/theano-users
● Deep learning tutorials: deeplearning.net/tutorial
Tutorial environment
1. Go to XX.XX.XXX.XXX:XXXX to determine your workspace
id that you will use through this tutorial
2. Go to XX.XX.XXX.XXX:XXXX to use your workspace
3. password: xxxxxxxxx
https://github.com/sergii-gavrylov/theano-tutorial-AACIMP2015
Scalar math
Symbolic variablesX
+
Z
Y
Symbolic variablesX
+
Z
Y
compilation add_fun(_ , _)
37, 5
42
Task scalars
Data types
Data types
Vector math
Matrix math
Task vectors_matrices
Shared variables
X
+
Z
Y
42
Shared variables
X
+
Z
Y
42
compilation add_fun(_)
1
43
Shared variables
Updates
Task shared_updates
Symbolic differentiation
Task grad
Task logistic_regression
Substitution
Substitution
Task substitution
Random streams
Task random_stream
Conclusion● Theano is a tool that combines the best of both worlds: it is easy
to code and fast to execute!
● It is used in both academia and industry.
● Symbolic paradigm is extremely flexible, but it might be not
suitable for everyone.
● Part 2 is coming.