anirudh2290 commented on a change in pull request #15245: FP16 Support for C Predict API URL: https://github.com/apache/incubator-mxnet/pull/15245#discussion_r299716688
########## 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: this is similar to symbol API and NDarray API where None is mapped to -1. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services