Skip to content

Commit

Permalink
[mxnet] Fixes GloveWordEmbeddingTranslator bug
Browse files Browse the repository at this point in the history
Fixes: #3286
  • Loading branch information
frankfliu committed Jun 28, 2024
1 parent ad9ee4d commit 6080fb6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public void prepare(TranslatorContext ctx) {
/** {@inheritDoc} */
@Override
public NDList processOutput(TranslatorContext ctx, NDList list) {
list.detach();
return list;
}

Expand Down

0 comments on commit 6080fb6

Please sign in to comment.