METHOD_0 ( ) { org . nd4j . linalg . factory . Nd4j . METHOD_1 ( ) . METHOD_2 ( INT_0 ) ; for ( IDENT_0 . val IDENT_1 : new int [ ] [ ] { new int [ ] { 0 } , new int [ ] { 1 } , new int [ ] { Integer . MAX_VALUE } , new int [ ] { 0 , 1 } , new int [ ] { } } ) { org . nd4j . linalg . api . ndarray . INDArray IDENT_2 = org . nd4j . linalg . factory . Nd4j . METHOD_3 ( 3 , 4 ) ; org . nd4j . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = org . nd4j . IDENT_3 . IDENT_4 . IDENT_5 . create ( ) ; org . nd4j . IDENT_3 . IDENT_4 . IDENT_7 in = IDENT_6 . METHOD_4 ( STRING_0 , IDENT_2 ) ; org . nd4j . IDENT_3 . IDENT_4 . IDENT_7 IDENT_8 = IDENT_6 . METHOD_5 ( STRING_1 , in , IDENT_1 ) ; org . nd4j . linalg . api . ndarray . INDArray out = IDENT_6 . METHOD_6 ( ) ; org . nd4j . linalg . api . ndarray . INDArray exp = org . nd4j . linalg . factory . Nd4j . METHOD_7 ( IDENT_2 , IDENT_1 ) ; "<AssertPlaceHolder>" ; } } METHOD_7 ( org . nd4j . linalg . factory . INDArray , int [ ] ) { org . nd4j . linalg . api . IDENT_9 . impl . IDENT_10 . IDENT_11 IDENT_12 = new org . nd4j . linalg . api . IDENT_9 . impl . IDENT_10 . METHOD_8 ( arr ) ; if ( ( IDENT_13 == null ) || ( ( IDENT_13 . length ) == 0 ) ) { return org . nd4j . linalg . factory . Nd4j . METHOD_9 ( ) . exec ( IDENT_12 , Integer . MAX_VALUE ) ; } else { return org . nd4j . linalg . factory . Nd4j . METHOD_9 ( ) . exec ( IDENT_12 , IDENT_13 ) ; } }
org . junit . Assert . assertEquals ( exp , out )