This is mapping from mxnet's dtype for cast operator to onnx's dtypes. Added comment to better explain.
TensorProto maps 'float32' to 'float' and 'float64' to 'double'. Rest of the types are handled by this line while creating cast op node-> " to=getattr(onnx.TensorProto, dtype.upper())", [ Full content available at: https://github.com/apache/incubator-mxnet/pull/12633 ] This message was relayed via gitbox.apache.org for [email protected]
