You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i execute the program i get the following error i tried converting "fn" to float32 but the results are the same this is the error :
Traceback (most recent call last):
File "basic_rnn_example.py", line 40, in
non_sequences=[W, W_in, W_out]))
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan.py", line 1042, in scan
scan_outs = local_op(_scan_inputs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\gof\op.py", line 507, in call
node = self.make_node(_inputs, **kwargs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan_op.py", line 374, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
The text was updated successfully, but these errors were encountered:
when i execute the program i get the following error i tried converting "fn" to float32 but the results are the same this is the error :
Traceback (most recent call last):
File "basic_rnn_example.py", line 40, in
non_sequences=[W, W_in, W_out]))
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan.py", line 1042, in scan
scan_outs = local_op(_scan_inputs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\gof\op.py", line 507, in call
node = self.make_node(_inputs, **kwargs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan_op.py", line 374, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (
outputs_info
in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn
) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.The text was updated successfully, but these errors were encountered: