sergeykolychev commented on a change in pull request #7815: [Perl] reduce
buffer copies in NDArray<->PDL conversions
URL: https://github.com/apache/incubator-mxnet/pull/7815#discussion_r137895004
##########
File path: perl-package/AI-MXNet/lib/AI/MXNet/NDArray.pm
##########
@@ -208,17 +208,13 @@ method _sync_copyfrom(ArrayRef|PDL|PDL::Matrix
$source_array)
confess("Shape inconsistant: expected $ndary_shape_str vs got
$pdl_shape_str")
}
my $perl_pack_type = DTYPE_MX_TO_PERL->{$dtype};
Review comment:
ah yes, you're right, thanks. These blocks for half floats need to be
eventually moved to AI::MXNetCAPI, they have no business to be here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services