Issue with local_bitwidth() #23

Closed
MikhailMS opened this Issue Jan 9, 2017 · 1 comment

Projects

None yet

2 participants

@MikhailMS

Following error occurs when running app on 64bit system
model.py", line 21, in matrixify n if (theano.gof.local_bitwidth() == 64) else T.cast(n,'int32'), AttributeError: 'module' object has no attribute 'local_bitwidth'

However, if change code in module.py from
return T.repeat(T.shape_padleft(vector), n if (theano.gof.local_bitwidth() == 64) else T.cast(n,'int32'), axis=0)
back to
return T.repeat(T.shape_padleft(vector), n, axis=0)
no error occurs.

@hexahedria hexahedria added a commit that referenced this issue Jan 9, 2017
@hexahedria Fix bitwidth check
Fixes issue #23
85269e7
@hexahedria
Owner

Should be fixed now.

@hexahedria hexahedria closed this Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment