szha commented on issue #18902:
URL: 
https://github.com/apache/incubator-mxnet/issues/18902#issuecomment-675240014


   so the error is saying that it's expecting float32 while getting float16. 
you may want to try to use NaiveEngine to pinpoint where this came from: 
https://mxnet.apache.org/api/dev-guide/debugging_and_performance_optimization_tips
   
   Type code can be found here: 
https://github.com/apache/incubator-mxnet/blob/master/3rdparty/mshadow/mshadow/base.h#L327-L342
   ```
   /*! \brief data type flag */
   enum TypeFlag {
     kFloat32 = 0,
     kFloat64 = 1,
     kFloat16 = 2,
     kUint8 = 3,
     kInt32 = 4,
     kInt8  = 5,
     kInt64 = 6,
     kBool = 7,
     kInt16 = 8,
     kUint16 = 9,
     kUint32 = 10,
     kUint64 = 11,
     kBfloat16 = 12
   };
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to