This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[bug]mx.nd.stack couldn't stack scalars #14594
Comments
Hey, this is the MXNet Label Bot. |
scalars are not currently supported. this should probably be fixed by the zero size tensor support work. |
@abhinavs95 @anirudh2290 Thank you! It is an issue about zero dimension tensor, which is similar to #14227 |
@mxnet-label-bot update [Bug, operator] |
@anirudh2290 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Hi, there.
I found a bug about
mx.nd.stack
, which couldn't stack scalars whose shape is()
.Environment info (Required)
Package used (Python/R/Scala/Julia):
Python
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
gcc
MXNet commit hash:
5d2a451
Build config:
make -j 5 USE_OPENCV=1 USE_BLAS=openblas USE_MKLDNN=0
Error Message:
I tried to fix the bug, however I do not why
attach_grad
calls the functioninfershape
.Minimum reproducible example
Test case 1:
Test case 2:
Steps to reproduce
The text was updated successfully, but these errors were encountered: