Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Proxy class methods for torch Tensors #1

Closed
alexbw opened this issue Oct 12, 2015 · 1 comment
Closed

Proxy class methods for torch Tensors #1

alexbw opened this issue Oct 12, 2015 · 1 comment

Comments

@alexbw
Copy link
Collaborator

alexbw commented Oct 12, 2015

Right now, A:size() will fail if A is a Node (if it's been wrapped to track computation in the forward pass).
However, getValue(A):size() will work.
Should proxy all class functions through the Node to the tensor.

@alexbw
Copy link
Collaborator Author

alexbw commented Nov 5, 2015

We do this in node.lua now

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

No branches or pull requests

1 participant