METHOD_0 ( ) { org . nd4j . linalg . api . ndarray . INDArray in = org . nd4j . linalg . factory . Nd4j . METHOD_1 ( ( - FLOAT_0 ) , FLOAT_0 , 10 , IDENT_0 . IDENT_1 ) ; org . nd4j . linalg . api . ndarray . INDArray out = org . nd4j . linalg . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_2 ( in , true ) ; org . nd4j . linalg . api . ndarray . INDArray exp = org . nd4j . linalg . factory . Nd4j . create ( in . METHOD_3 ( ) ) ; for ( int i = 0 ; i < 10 ; i ++ ) { double x = in . METHOD_4 ( i ) ; double y = ( FLOAT_1 * ( java . lang . Math . log ( ( x + 1.0 ) ) ) ) - ( FLOAT_1 * ( java . lang . Math . log ( ( 1.0 - x ) ) ) ) ; exp . METHOD_5 ( i , y ) ; } "<AssertPlaceHolder>" ; } METHOD_5 ( long [ ] , int ) { return METHOD_5 ( IDENT_5 , ( ( double ) ( value ) ) ) ; }
org . junit . Assert . assertEquals ( exp , out )