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
fix: error when set the activation parameter of keras.layers.Conv2DTranspose to null.
pull/1076/head
lingbai-kong
2 years ago
parent
80c39523a9
commit
a1bb13d2ab
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/TensorFlowNET.Keras/Activations.cs
+ 4
- 0
src/TensorFlowNET.Keras/Activations.cs
View File
@@ -77,6 +77,10 @@ namespace Tensorflow.Keras
public Activation GetActivationFromName(string name)
{
if (name == null)
{
return _linear;
}
if (!_nameActivationMap.TryGetValue(name, out var res))
{
throw new Exception($"Activation {name} not found");
Write
Preview
Loading…
Cancel
Save