| @@ -106,11 +106,6 @@ namespace Tensorflow | |||||
| py.__enter__(); | py.__enter__(); | ||||
| action(py); | action(py); | ||||
| } | } | ||||
| catch (Exception ex) | |||||
| { | |||||
| Console.WriteLine(ex.ToString()); | |||||
| throw; | |||||
| } | |||||
| finally | finally | ||||
| { | { | ||||
| py.__exit__(); | py.__exit__(); | ||||
| @@ -126,11 +121,6 @@ namespace Tensorflow | |||||
| py.__enter__(); | py.__enter__(); | ||||
| action(py); | action(py); | ||||
| } | } | ||||
| catch (Exception ex) | |||||
| { | |||||
| Console.WriteLine(ex.ToString()); | |||||
| throw; | |||||
| } | |||||
| finally | finally | ||||
| { | { | ||||
| py.__exit__(); | py.__exit__(); | ||||
| @@ -146,11 +136,6 @@ namespace Tensorflow | |||||
| py.__enter__(); | py.__enter__(); | ||||
| return action(py); | return action(py); | ||||
| } | } | ||||
| catch (Exception ex) | |||||
| { | |||||
| Console.WriteLine(ex.ToString()); | |||||
| return default(TOut); | |||||
| } | |||||
| finally | finally | ||||
| { | { | ||||
| py.__exit__(); | py.__exit__(); | ||||