* scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc:
  (Java_org_apache_mxnet_LibInfo_mxSymbolInferShape): throw
  IllegalArgumentException with the content of MXGetError if call to
  MXSymbolInferShape fails.

## Description ##
Properly handle any errors returned from `MXSymbolInferShape`, by throwing an 
exception to the caller. Otherwise, an error in that function call would mean 
subsequent calls (e.g. FillSymbolInferShape) would be operating on invalid, 
uninitialized data.

[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12733 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to