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

Crashing at T.tile #3

Closed
huan086 opened this issue Apr 13, 2016 · 1 comment
Closed

Crashing at T.tile #3

huan086 opened this issue Apr 13, 2016 · 1 comment

Comments

@huan086
Copy link

huan086 commented Apr 13, 2016

At the line h_0_batch = T.tile(h_0, [x.shape[1], 1])

x.shape[1] is Subtensor{int64}.0

x is <TensorType(int32, matrix)>.

Executing T.tile gives the following error

ValueError: reps argument to tile must be a constant (e.g. tuple, list of integers)

I'm using all the default parameters when running memory_problem.py. What am I doing wrong?

@huan086
Copy link
Author

huan086 commented Apr 15, 2016

Upgrading to Theano 0.8 solved the problem

@huan086 huan086 closed this as completed Apr 15, 2016
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

1 participant