I have a function which resizes images in the 'scan' function,and I 
implement the resize function by '@as_op' method,so how can I avoid this 
error as I did not need to compute grad of my resize function .But it did 
required one.

在 2016年9月15日星期四 UTC+8下午9:11:44,nouiz写道:
>
> Can you give the full error with stack trace? If Theano give this error it 
> is probably because there is a path in the grad that request it. 
>
> Le 14 sept. 2016 04:14, <shey...@gmail.com <javascript:>> a écrit :
>
>> But my function does not need to calculate gradient,how can I fix this?
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to theano-users...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to