|
|
|
@@ -36,6 +36,7 @@ namespace Tensorflow |
|
|
|
return instance; |
|
|
|
} |
|
|
|
|
|
|
|
[DebuggerNonUserCode()] // with "Just My Code" enabled this lets the debugger break at the origin of the exception |
|
|
|
public static void with(IPython py, Action<IPython> action) |
|
|
|
{ |
|
|
|
try |
|
|
|
@@ -55,6 +56,7 @@ namespace Tensorflow |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[DebuggerNonUserCode()] // with "Just My Code" enabled this lets the debugger break at the origin of the exception |
|
|
|
public static void with<T>(T py, Action<T> action) where T : IPython |
|
|
|
{ |
|
|
|
try |
|
|
|
@@ -74,6 +76,7 @@ namespace Tensorflow |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[DebuggerNonUserCode()] // with "Just My Code" enabled this lets the debugger break at the origin of the exception |
|
|
|
public static TOut with<TIn, TOut>(TIn py, Func<TIn, TOut> action) where TIn : IPython |
|
|
|
{ |
|
|
|
try |
|
|
|
|