You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/14 01:00:27 UTC

[GitHub] sergeykolychev commented on a change in pull request #9414: [Perl] Bitrot fix. Viz and two flaky tests.

sergeykolychev commented on a change in pull request #9414: [Perl] Bitrot fix. Viz and two flaky tests.
URL: https://github.com/apache/incubator-mxnet/pull/9414#discussion_r161385113
 
 

 ##########
 File path: perl-package/AI-MXNet/t/test_gluon_rnn.t
 ##########
 @@ -320,15 +320,15 @@ sub test_rnn_layers
     check_rnn_layer_forward(gluon->rnn->GRU(10, 2), mx->nd->ones([8, 3, 20]));
     check_rnn_layer_forward(gluon->rnn->GRU(10, 2), mx->nd->ones([8, 3, 20]), mx->nd->ones([2, 3, 10]));
 
-    my $net = gluon->nn->Sequential();
-    $net->add(gluon->rnn->LSTM(10, 2, bidirectional=>1));
-    $net->add(gluon->nn->BatchNorm(axis=>2));
-    $net->add(gluon->nn->Flatten());
-    $net->add(gluon->nn->Dense(3, activation=>'relu'));
-    $net->collect_params()->initialize();
-    mx->autograd->record(sub {
-        $net->(mx->nd->ones([2, 3, 10]))->backward();
-    });
+#    my $net = gluon->nn->Sequential();
 
 Review comment:
   Just commented it for now so I'll remember to return to this later. There was one test failure in that part that was never reproduced after that and I'd like to get to the bottom of it later.
   Currently I am working on adding sparse support to perl and don't have much time for this currently so I just commented the block.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services