using System; using System.Collections.Generic; using System.Text; namespace Tensorflow.Keras.Metrics { public class SquaredHinge : MeanMetricWrapper { public SquaredHinge(string name = "squared_hinge", string dtype = null) : base(Losses.Loss.squared_hinge, name, dtype) { } } }
tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。