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 2019/07/02 22:27:15 UTC

[GitHub] [incubator-mxnet] sandeep-krishnamurthy commented on a change in pull request #15245: FP16 Support for C Predict API

sandeep-krishnamurthy commented on a change in pull request #15245: FP16 Support for C Predict API
URL: https://github.com/apache/incubator-mxnet/pull/15245#discussion_r299699493
 
 

 ##########
 File path: amalgamation/python/mxnet_predict.py
 ##########
 @@ -25,17 +25,74 @@
 
 import os
 import sys
+from array import array
 import ctypes
 import logging
 import numpy as np
 
+# pylint: disable= no-member
+_DTYPE_NP_TO_MX = {
+    None: -1,
 
 Review comment:
   Should None be Float32 by default?

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


With regards,
Apache Git Services