@@ -125,7 +125,7 @@ public BinaryCrossentropy(Ops tf, String name, boolean fromLogits) {
125
125
* @param fromLogits Whether to interpret predictions as a tensor of logit values
126
126
* @param labelSmoothing A number in the range, [0, 1]. When 0, no smoothing occurs. When > 0,
127
127
* compute the loss between the predicted labels and a smoothed version of the true labels,
128
- * where the smoothing squeezes the labels towards 0.5. Larger values of label_smoothing
128
+ * where the smoothing squeezes the labels towards 0.5. Larger values of labelSmoothing
129
129
* correspond to heavier smoothing.
130
130
*/
131
131
public BinaryCrossentropy (Ops tf , boolean fromLogits , float labelSmoothing ) {
@@ -140,7 +140,7 @@ public BinaryCrossentropy(Ops tf, boolean fromLogits, float labelSmoothing) {
140
140
* @param fromLogits Whether to interpret predictions as a tensor of logit values
141
141
* @param labelSmoothing A number in the range, [0, 1]. When 0, no smoothing occurs. When > 0,
142
142
* compute the loss between the predicted labels and a smoothed version of the true labels,
143
- * where the smoothing squeezes the labels towards 0.5. Larger values of label_smoothing
143
+ * where the smoothing squeezes the labels towards 0.5. Larger values of labelSmoothing
144
144
* correspond to heavier smoothing.
145
145
*/
146
146
public BinaryCrossentropy (Ops tf , String name , boolean fromLogits , float labelSmoothing ) {
@@ -154,7 +154,7 @@ public BinaryCrossentropy(Ops tf, String name, boolean fromLogits, float labelSm
154
154
* @param fromLogits Whether to interpret predictions as a tensor of logit values
155
155
* @param labelSmoothing A number in the range, [0, 1]. When 0, no smoothing occurs. When > 0,
156
156
* compute the loss between the predicted labels and a smoothed version of the true labels,
157
- * where the smoothing squeezes the labels towards 0.5. Larger values of label_smoothing
157
+ * where the smoothing squeezes the labels towards 0.5. Larger values of labelSmoothing
158
158
* correspond to heavier smoothing.
159
159
* @param reduction Type of Reduction to apply to the loss.
160
160
*/
@@ -170,7 +170,7 @@ public BinaryCrossentropy(Ops tf, boolean fromLogits, float labelSmoothing, Redu
170
170
* @param fromLogits Whether to interpret predictions as a tensor of logit values
171
171
* @param labelSmoothing A number in the range, [0, 1]. When 0, no smoothing occurs. When > 0,
172
172
* compute the loss between the predicted labels and a smoothed version of the true labels,
173
- * where the smoothing squeezes the labels towards 0.5. Larger values of label_smoothing
173
+ * where the smoothing squeezes the labels towards 0.5. Larger values of labelSmoothing
174
174
* correspond to heavier smoothing.
175
175
* @param reduction Type of Reduction to apply to the loss.
176
176
* @throws IllegalArgumentException if labelSmoothing is not in the inclusive range of 0. - 1.
0 commit comments