It is not imported by default. Just

import theano.ifelse

Fred

Le sam. 13 janv. 2018 17:10, ziqi zhang <ziqizhang.em...@gmail.com> a
écrit :

> I am installing theano following the instructions here
> http://deeplearning.net/software/theano/install_ubuntu.html, on linux
> ubuntu.
>
> Specifically, the commands are:
>
> step 1, install anaconda: bash Anaconda3-5.0.1-Linux-x86_64.sh
> step 2, install theano: conda install numpy scipy mkl nose sphinx pydot-ng
> step 3, conda install theano pygpu
>
> Then testing:
>
> python
> Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49)
> [GCC 7.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import theano
> >>> theano.ifelse
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: module 'theano' has no attribute 'ifelse'
>
>
> Then as you can see, I get an error show above.
>
> Because this error, my code that works on a different platform cannot
> work. The code also uses Keras, which calls theano to create models.
>
> What does the error mean and how can I fix this?
>
> Many thanks
>
>
> --
>
> ---
> 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.
>

-- 

--- 
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