@@ -6,5 +6,36 @@ namespace Tensorflow.Keras.Losses
66{
77 public abstract class Loss
88 {
9+ public static Tensor mean_squared_error ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
10+
11+ public static Tensor mean_absolute_error ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
12+
13+ public static Tensor mean_absolute_percentage_error ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
14+
15+ public static Tensor mean_squared_logarithmic_error ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
16+
17+ public static Tensor _maybe_convert_labels ( Tensor y_true ) => throw new NotImplementedException ( ) ;
18+
19+ public static Tensor squared_hinge ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
20+
21+ public static Tensor hinge ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
22+
23+ public static Tensor categorical_hinge ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
24+
25+ public static Tensor huber_loss ( Tensor y_true , Tensor y_pred , float delta = 1 ) => throw new NotImplementedException ( ) ;
26+
27+ public static Tensor logcosh ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
28+
29+ public static Tensor categorical_crossentropy ( Tensor y_true , Tensor y_pred , bool from_logits = false , float label_smoothing = 0 ) => throw new NotImplementedException ( ) ;
30+
31+ public static Tensor sparse_categorical_crossentropy ( Tensor y_true , Tensor y_pred , bool from_logits = false , float axis = - 1 ) => throw new NotImplementedException ( ) ;
32+
33+ public static Tensor binary_crossentropy ( Tensor y_true , Tensor y_pred , bool from_logits = false , float label_smoothing = 0 ) => throw new NotImplementedException ( ) ;
34+
35+ public static Tensor kullback_leibler_divergence ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
36+
37+ public static Tensor poisson ( Tensor y_true , Tensor y_pred ) => throw new NotImplementedException ( ) ;
38+
39+ public static Tensor cosine_similarity ( Tensor y_true , Tensor y_pred , int axis = - 1 ) => throw new NotImplementedException ( ) ;
940 }
1041}
0 commit comments