Issue with local_bitwidth() #23

MikhailMS opened this Issue Jan 9, 2017 · 1 comment


None yet

2 participants


Following error occurs when running app on 64bit system", 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 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

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