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
[Numpy] Dense does not support float32 + float64. #18060
Labels
Comments
As discussed with @sxjscience before, one solution is to always convert to fp32 when reading from numpy array. what do you think? @reminisce @haojin2 @szha |
We'll have an global default dtype switch, and it will be set to float32 if not changed by user. |
JiangZhaoh
added a commit
to JiangZhaoh/incubator-mxnet
that referenced
this issue
Apr 30, 2020
JiangZhaoh
added a commit
to JiangZhaoh/incubator-mxnet
that referenced
this issue
May 6, 2020
JiangZhaoh
added a commit
to JiangZhaoh/incubator-mxnet
that referenced
this issue
May 12, 2020
yzhliu
pushed a commit
that referenced
this issue
May 19, 2020
AntiZpvoh
pushed a commit
to AntiZpvoh/incubator-mxnet
that referenced
this issue
Jul 6, 2020
* apply apache#17283 * fix issue apache#18060 * fix error * remove redundant code * fix CI error * replace Flase to False * add 'dtype=False' to set_np() * fix doc * default 'arange' default np dtype as int64
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code snippet will raise an error with the current MXNet. The reason is that the dtype of
a
will be float64 while the dense layer only supports float32.The text was updated successfully, but these errors were encountered: