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

Bug on PDL version 2.068 #1 #20850

Closed
jehosha opened this issue Jan 26, 2022 · 1 comment
Closed

Bug on PDL version 2.068 #1 #20850

jehosha opened this issue Jan 26, 2022 · 1 comment

Comments

@jehosha
Copy link

jehosha commented Jan 26, 2022

Hi friend,

PDL (2.068) is not able to retrieve MXNet tensors. It can only retieve the first integer pointed to by the memory reference.
The rest of the array's content is completely set to zeros.
use strict;
use warnings;
use AI::MXNet qw(mx);
use AI::MXNet qw(nd);
use Data::Dump qw(dump);

my $x = mx->nd->array([5, 9]);
print $x->aspdl;

It prints [5,0] instead of [5, 9].

Previous PDL version 2.047 did not have this issue.
I figured out a temporary "solution" to the problem by removing PDL (2.068) and installing from source PDL version 2.047 and PDL::VectorValued::Utils (1.0.14) and PDL::CCS::Utils (1.23.17).

Please give a solution to the problem.
You can contact me by email if you need me to make tests on the new version of PDL.

@github-actions
Copy link

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.

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

No branches or pull requests

1 participant