This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
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
Update LossesApi.cs
pull/680/head
dataangel
GitHub
5 years ago
parent
0ff31a35ec
commit
8cf715c86e
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
src/TensorFlowNET.Keras/Losses/LossesApi.cs
+ 4
- 1
src/TensorFlowNET.Keras/Losses/LossesApi.cs
View File
@@ -1,4 +1,4 @@
namespace Tensorflow.Keras.Losses
namespace Tensorflow.Keras.Losses
{
public class LossesApi
{
@@ -7,5 +7,8 @@
public ILossFunc CategoricalCrossentropy(bool from_logits = false)
=> new CategoricalCrossentropy(from_logits: from_logits);
public ILossFunc MeanSquaredError(string reduction = null)
=> new MeanSquaredError(reduction: reduction);
}
}
Write
Preview
Loading…
Cancel
Save