anirudh2290 commented on issue #9681: Better Exception Handling for Operators
URL: https://github.com/apache/incubator-mxnet/pull/9681#issuecomment-365019710
@piiswrong: Do you have additional suggestions ?
This is an
anirudh2290 commented on issue #9681: Better Exception Handling for Operators
URL: https://github.com/apache/incubator-mxnet/pull/9681#issuecomment-364031160
After discussion with @piiswrong , we came to a conclusion that in an
execution graph once an exception is thrown, the same
anirudh2290 commented on issue #9681: Better Exception Handling for Operators
URL: https://github.com/apache/incubator-mxnet/pull/9681#issuecomment-363535323
```
try:
x, y, z = op()
x.asnumpy() #Throws exception, sets exception_ptr to nullptr
except:
anirudh2290 commented on issue #9681: Better Exception Handling for Operators
URL: https://github.com/apache/incubator-mxnet/pull/9681#issuecomment-363523771
```
try:
x, y, z = op()
x.asnumpy()
except:
handle_exc()
'''
The below just pushes
anirudh2290 commented on issue #9681: Better Exception Handling for Operators
URL: https://github.com/apache/incubator-mxnet/pull/9681#issuecomment-363241899
@piiswrong Trying to understand your comment.
Lets say we have some code snippet like the below:
```
try: