-
Notifications
You must be signed in to change notification settings - Fork 9
NDArray stype access #51
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
Comments
The code looks clean to me, changing no existing functionality. However, upon addition of this code, the functionality of NDArray breaks such that initialization of NDArray fills with random values when using .zeros, .ones, .array etc, it is also no longer possible to make assignments to the array correctly. It is as if the array handle is bad. You will notice there are no code changes, only additions. The closest code change is addition of a local variable mStorageType. To reproduce, checkout code and run in IRB require 'mxnet'
a = MXNet::NDArray.ones(5)
Whichever initializer I use, the result is similar. |
@mrkn This task is complete with tests. |
@tjad Sorry, I'm still busy to work for fiddle and ruby 3.0. Please wait for a moment. |
No description provided.
The text was updated successfully, but these errors were encountered: