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 2018/10/03 18:55:09 UTC
[GitHub] csm opened a new pull request #12733: Throw exception if
MXSymbolInferShape fails.
csm opened a new pull request #12733: Throw exception if MXSymbolInferShape fails.
URL: https://github.com/apache/incubator-mxnet/pull/12733
* 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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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