- 31 12月, 2011 21 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
This op takes care of the special case when the entries of scan are not in the righr order. Such a thing can happen once the save mem optimization is implemented, and the memory buffer for an output is much smaller then the number of steps. Then scan will just roll around that memory buffer, and entry 0 might end up somewhere in the middle
-
由 Razvan Pascanu 提交于
Before this class was used to validate that computing the shape of an argument does not rely on any input of the inner function of scan. We do not need to do this anymore, since now the output storage size is given as input to scan, and output shapes are the same as input shape (so the internal graph of scan does not come into play anymore).
-
由 Razvan Pascanu 提交于
This way we make sure that no gpu argument gets there
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
The previous code was copy paste from the old scan and it did not respect the new scan internals.
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
I've changed the __eq__ of scan by moving a much more obvious check up in the function
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
Before I used to have the different types of inputs/outputs seperated into lists inside the scan op. I've made a more generic approach, where there is a simple list of all inputs/outputs for scan.
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
Construct an instance of the Scan Op and apply it to inputs
-
由 Razvan Pascanu 提交于
The distinction between different types of inputs/outputs is not really necessary anymore, so in order to simplify the code I just create a single list of all inputs
-
由 Razvan Pascanu 提交于
I keep track of the original shared variables, plus remove the distinction between outer and inner since is not needed anymore.
-
由 Razvan Pascanu 提交于
I do not really use ``states_and_outputs_info`` list anywhere after that point. I will use mintaps however. Normally I would have to feel both lists with the defaul, but since I'm not using the first one anymore, I'll just fill the second one
-
由 Razvan Pascanu 提交于
I will use ``cond`` as ``as_repeatUntil`` because both variables have the same semantics
-
由 Razvan Pascanu 提交于
-
- 30 12月, 2011 2 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
- 29 12月, 2011 6 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
- 28 12月, 2011 6 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
Note : some of them are copies of the ones in the old scan
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
- 27 12月, 2011 3 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-
- 26 12月, 2011 2 次提交
-
-
由 Razvan Pascanu 提交于
-
由 Razvan Pascanu 提交于
-