- 18 8月, 2011 3 次提交
-
-
由 David Warde-Farley 提交于
adds 1d advanced indexing support to inc_subtensor and set_subtensor.
-
由 David Warde-Farley 提交于
-
由 David Warde-Farley 提交于
-
- 17 8月, 2011 8 次提交
-
-
由 James Bergstra 提交于
AdvIncSubtensor1 - better error message in make_node when incrementing a selection of lower rank, and test of that error condition
-
由 James Bergstra 提交于
-
由 James Bergstra 提交于
-
由 Ian Goodfellow 提交于
-
由 James Bergstra 提交于
Remove annoying raise_with_op behaviour, document.
-
由 David Warde-Farley 提交于
Fixed documentation about FAST_COMPILE mode to match its actual implement
-
由 David Warde-Farley 提交于
This adds a docstring for raise_with_op and also modifies its behaviour somewhat. Previously, the exception was re-raised with a different 'args' member -- namely, in addition to the exception message it added two new elements to the tuple: the Op itself and a string telling you where in the graph the corresponding Apply node appeared. This gets in the way if you want to have an exception message containing formatting (newlines and tabs), since the entire tuple is printed, and the formatting on the string is not rendered. I've never seen the Apply node index be of use to anyone debugging, but my proposed solution is to stash that information in __op_instance__ and __applynode_index__ on the object instead of in the args tuple. I would not be against appending to args[0], the exception message, with applynode information, but this is easy enough to obtain at the pdb prompt with my modifications.
-
由 James Bergstra 提交于
-
- 16 8月, 2011 1 次提交
-
-
由 Olivier Delalleau 提交于
-
- 13 8月, 2011 12 次提交
-
-
由 James Bergstra 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
- 12 8月, 2011 16 次提交
-
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Razvan Pascanu 提交于
env. This used to make pickling of scan impossible. As I've broken the pickling mechanism several times before, I've added a test that checks if scan is still picklable. I'm not sure is the best way of doing it though ..
-
由 Frederic Bastien 提交于
-
由 Razvan Pascanu 提交于
review.
-
由 Frederic Bastien 提交于
-
由 Frederic Bastien 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
As before, I would suggest reviewing just the cython code and not the C code since is generated, and hence hard to impossible to review.
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
while)
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
Cython can not handle negative indices ( because of a derictive at the begining of the function that says not to do boundschecks). This is used to make the code faster, so this workaround is better then removing the directive.
-