@@ -178,18 +178,20 @@ public BinaryCrossentropy(Ops tf, boolean fromLogits, float labelSmoothing, Redu
178178  public  BinaryCrossentropy (
179179      Ops  tf , String  name , boolean  fromLogits , float  labelSmoothing , Reduction  reduction ) {
180180    super (tf , name , reduction );
181-     if (labelSmoothing  < 0  || labelSmoothing  > 1 )
182-       throw  new  IllegalArgumentException ("labelSmoothing must be >= 0. and <= 1, found "  + labelSmoothing );
181+     if  (labelSmoothing  < 0  || labelSmoothing  > 1 )
182+       throw  new  IllegalArgumentException (
183+           "labelSmoothing must be >= 0. and <= 1, found "  + labelSmoothing );
183184    this .fromLogits  = fromLogits ;
184185    this .labelSmoothing  = labelSmoothing ;
185186  }
186187
187188  /** 
188189   * Generates an Operand that calculates the loss. 
189190   * 
190-    * If run in Graph mode, the computation will throw {@link org.tensorflow.exceptions.TFInvalidArgumentException} 
191-    * if the predictions values are outside the range o [0. to 1.]. In Eager Mode, this call 
192-    * will throw {@link IllegalArgumentException}, if the predictions values are outside the range o [0. to 1.] 
191+    * <p>If run in Graph mode, the computation will throw {@link 
192+    * org.tensorflow.exceptions.TFInvalidArgumentException} if the predictions values are outside the 
193+    * range o [0. to 1.]. In Eager Mode, this call will throw {@link IllegalArgumentException}, if 
194+    * the predictions values are outside the range o [0. to 1.] 
193195   * 
194196   * @param labels the truth values or labels 
195197   * @param predictions the predictions, values must be in the range [0. to 1.] inclusive. 
0 commit comments