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

isTensor is a nil value #84

Closed
russellfei opened this issue Nov 1, 2014 · 2 comments
Closed

isTensor is a nil value #84

russellfei opened this issue Nov 1, 2014 · 2 comments

Comments

@russellfei
Copy link

require 'cutorch'
require 'torch'

a = rand(3,20,20):type('torch.FloatTensor')

a = a:cuda()

=torch.isTensor(a)

Then I got

> = torch.isTensor(a)
[string " torch.isTensor(a)"]:1: attempt to call field 'isTensor' (a nil value)

isTensor has been out-dated?

@soumith
Copy link
Member

soumith commented Nov 1, 2014

thanks, good catch. it looks like isTensor has not been registered with cuda, i will fix this later today.

@russellfei
Copy link
Author

As much as I know, @soumith you are really busy as a firefighter of torch.
Would you have any spare time to reply for my mail about specific usage of torch?

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