This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
scisharp
/
TensorFlow.NET
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
21
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
feat: add exception catch to code generator.
tags/v0.110.0-LSTM-Model
Yaohui Liu
2 years ago
parent
07ea656833
commit
5bfe0982e9
No known key found for this signature in database
GPG Key ID:
E86D01E1809BD23E
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
tools/Tensorflow.CodeGen/FunctionGenerator.cs
+ 4
- 0
tools/Tensorflow.CodeGen/FunctionGenerator.cs
View File
@@ -83,6 +83,10 @@ namespace Tensorflow.CodeGen
sb.AppendLine("}"); // try
sb.Append("catch(NotOkStatusException ex)\n{\n");
sb.AppendLine("throw ex;");
sb.AppendLine("}"); // catch
sb.Append("catch(Exception)\n{\n");
sb.AppendLine("}"); // catch
Write
Preview
Loading…
Cancel
Save