Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

single precision float #7

Open
tdomhan opened this issue Nov 16, 2013 · 1 comment
Open

single precision float #7

tdomhan opened this issue Nov 16, 2013 · 1 comment

Comments

@tdomhan
Copy link

tdomhan commented Nov 16, 2013

I just wanted to note that I needed to add THEANO_FLAGS='floatX=float32' in order to run the test successfully.

Because if I didn't tensor.sqrt would return a double precision number and then the assert in line 492 of file pyll_slm.py would fail.

@jaberg
Copy link
Contributor

jaberg commented Nov 16, 2013

Good catch! The code should assert that explicitly...
On Nov 16, 2013 12:18 PM, "Tobias Domhan" [email protected] wrote:

I just wanted to note that I needed to add THEANO_FLAGS='floatX=float32'in order to run the test successfully.

Because if I didn't tensor.sqrt would return a double precision number and
then the assert in line 492 of file pyll_slm.py would fail.


Reply to this email directly or view it on GitHubhttps://issues/7
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants