Navigation
index
next
|
previous
|
Pylearn2 dev documentation
»
Previous topic
Features
Next topic
Developer Start Guide
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Internal Documentation
ΒΆ
Developer Start Guide
Accounts
Coding style
Documentation
Mailing list
Git config
Typical development workflow
Coding Style Auto Check
Cleaning up history
Details about
PYTHONPATH
More instructions
Optional
Nightly test
Data specifications, spaces, and sources
The
Space
object
Sources
Structure of data specifications
Examples of use
The big picture
Input of a model
Input of a cost
Input of a monitoring channel
Nesting and flattening data_specs
Pylearn2 Pull Request Checklist
Are you breaking a statement over multiple lines?
Do tests exist for the code you’re modifying?
Are you fixing a bug? Did you add a regression test?
Are you fixing an issue that is on the issue tracker?
Have you squashed out any nuisance commits?
Are you using OrderedDict where necessary? Are you iterating over sets?
Are you using print statements?
Are you creating a sequence and then immediately iterating over it?
Are you using
zip()
/
izip()
on sequences you expect to be the same length?
Are you using the dict/
OrderedDict
methods
keys()
/
values()
/
items()
?
Are you updating a dictionary or OrderedDict with
.update()
?
Do you have an
except:
block?
Are you checking to see if an argument is iterable?
Are you checking if something is a string?
Are you checking if something is a number?
Are you creating Theano functions?
Are you creating Theano shared variables?
Are you casting symbols/constants to a Theano floating point type?
Do you have big nested loops for generating a Cartesian product?
Are you generating combinations or permutations of a set (or list, ...)?
Are you overriding methods in your class?
Are you writing functions that uses pseudo-random numbers?
Are you assembling filesystem paths with
dir
+
/
+
filename
or similar?
Are you extracting the directory name or base filename from a file path?
Are you opening/closing files?
Navigation
index
next
|
previous
|
Pylearn2 dev documentation
»