Can't access theanof.intX

Hi all,

I’m trying to access the function pymc3.theanof.intX from within another module but it is not visible for some reason. Curiously, the function pymc3.theanof.floatX is visible, even though I can see no differences in how they are handled (please see below) …

Any help is highly appreciated!
Thanks Jan

In [20]: pymc3.theanof.floatX
Out[20]: <function pymc3.theanof.floatX(X)>

In [21]: pymc3.theanof.intX

AttributeError Traceback (most recent call last)
in
----> 1 pymc3.theanof.intX

AttributeError: module ‘pymc3.theanof’ has no attribute ‘intX’

What version of pymc3 are you running? Is it older than 3.6?

It’s 3.6

Try upgrading it to 3.7. I have no problems importing it from theanof in either 3.6 or 3.7

1 Like

That works!
Thanks, Jan