Thanks to visit codestin.com
Credit goes to github.com

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

Bug on PDL version 2.068 #1 #20850

@jehosha

Description

@jehosha

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions