FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Status: made Check(bool throwException = false) [DebuggerHidden] · MSavameri/TensorFlow.NET@c1910e5 · GitHub

Repository navigation

Commit c1910e5

Browse files
committed
Status: made Check(bool throwException = false) [DebuggerHidden]
1 parent 8e1a4ca commit c1910e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/TensorFlowNET.Core/Status/Status.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ limitations under the License.
1515
******************************************************************************/
1616

1717
using System;
18+
using System.Diagnostics;
1819
using System.Runtime.CompilerServices;
1920
using static Tensorflow.c_api;
2021

@@ -52,6 +53,7 @@ public void SetStatus(TF_Code code, string msg)
5253
/// </summary>
5354
/// <exception cref="TensorflowException">When the returned check is not TF_Code.TF_OK</exception>
5455
[MethodImpl(MethodImplOptions.AggressiveInlining)]
56+
[DebuggerHidden]
5557
public void Check(bool throwException = false)
5658
{
5759
if (Code != TF_Code.TF_OK)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL