METHOD_0 ( ) { org . nd4j . linalg . api . ndarray . INDArray values = org . nd4j . linalg . factory . Nd4j . create ( 2 , 2 ) ; org . nd4j . linalg . api . ndarray . INDArray IDENT_0 = org . nd4j . linalg . factory . Nd4j . create ( 2 , 2 ) ; values . put ( 0 , 0 , 0 ) ; IDENT_0 . put ( 0 , 0 , 2 ) ; values . put ( 1 , 0 , 0 ) ; IDENT_0 . put ( 1 , 0 , 2 ) ; values . put ( 0 , 1 , 0 ) ; IDENT_0 . put ( 0 , 1 , 0 ) ; values . put ( 1 , 1 , 2 ) ; IDENT_0 . put ( 1 , 1 , 2 ) ; org . nd4j . linalg . api . ndarray . INDArray expected = org . nd4j . linalg . factory . Nd4j . METHOD_1 ( org . nd4j . linalg . factory . Nd4j . METHOD_2 ( 2 ) , 2 ) . METHOD_3 ( 2 , 1 ) ; org . nd4j . linalg . api . IDENT_1 . IDENT_2 IDENT_3 = org . nd4j . linalg . factory . Nd4j . METHOD_4 ( ) . METHOD_5 ( STRING_0 , values , IDENT_0 ) ; org . nd4j . linalg . api . ndarray . INDArray results = org . nd4j . linalg . factory . Nd4j . METHOD_6 ( ) . exec ( IDENT_3 , 1 ) ; "<AssertPlaceHolder>" ; } exec ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_6 , int [ ] ) { if ( ( IDENT_7 == null ) || ( ( IDENT_7 . length ) == 0 ) ) IDENT_7 = new int [ ] { Integer . MAX_VALUE } ; METHOD_7 ( op ) ; METHOD_8 ( org . nd4j . linalg . factory . Nd4j . METHOD_9 ( ) , op ) ; if ( ( IDENT_8 . get ( ) ) == null ) IDENT_8 . set ( new org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . METHOD_10 ( INT_0 ) ) ; IDENT_7 = org . nd4j . linalg . api . IDENT_9 . IDENT_10 . METHOD_11 ( op . x ( ) . METHOD_12 ( ) , IDENT_7 ) ; for ( int i = 0 ; i < ( IDENT_7 . length ) ; i ++ ) { if ( ( IDENT_7 [ i ] ) < 0 ) IDENT_7 [ i ] += op . x ( ) . METHOD_12 ( ) ; } if ( ( IDENT_7 . length ) == ( op . x ( ) . METHOD_12 ( ) ) ) IDENT_7 = new int [ ] { Integer . MAX_VALUE } ; long [ ] IDENT_11 = ( org . nd4j . linalg . api . IDENT_9 . IDENT_10 . METHOD_13 ( IDENT_7 ) ) ? new long [ ] { 1 , 1 } : org . nd4j . linalg . util . IDENT_12 . METHOD_14 ( op . x ( ) . METHOD_15 ( ) , IDENT_7 ) ; if ( ( IDENT_11 . length ) == 1 ) { if ( ( IDENT_7 [ 0 ] ) == 0 ) IDENT_11 = new long [ ] { 1 , IDENT_11 [ 0 ] } ; else IDENT_11 = new long [ ] { IDENT_11 [ 0 ] , 1 } ; } else if ( ( IDENT_11 . length ) == 0 ) { IDENT_11 = new long [ ] { 1 , 1 } ; } if ( ( ( op . METHOD_16 ( ) ) == null ) || ( ( op . x ( ) ) == ( op . METHOD_16 ( ) ) ) ) { org . nd4j . linalg . api . ndarray . INDArray ret ; if ( ( op . x ( ) . data ( ) . METHOD_9 ( ) ) == ( IDENT_13 . Type . IDENT_14 ) ) ret = org . nd4j . linalg . factory . Nd4j . METHOD_17 ( IDENT_11 , op . METHOD_18 ( ) ) ; else ret = org . nd4j . linalg . factory . Nd4j . METHOD_17 ( IDENT_11 , op . METHOD_19 ( ) ) ; op . METHOD_20 ( ret ) ; } else if ( ! ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . Arrays . equals ( IDENT_11 , op . METHOD_16 ( ) . METHOD_15 ( ) ) ) ) { throw new java . lang . IllegalStateException ( ( ( ( ( ( STRING_1 + op ) + STRING_2 ) + ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . Arrays . toString ( IDENT_11 ) ) ) + STRING_3 ) + ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . Arrays . toString ( op . METHOD_16 ( ) . METHOD_15 ( ) ) ) ) ) ; } if ( ( IDENT_7 . length ) == ( op . x ( ) . METHOD_12 ( ) ) ) IDENT_7 = new int [ ] { Integer . MAX_VALUE } ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_15 IDENT_16 = IDENT_17 . METHOD_21 ( IDENT_7 ) . METHOD_22 ( ) ; org . nd4j . linalg . IDENT_18 . IDENT_19 < org . nd4j . linalg . api . buffer . IDENT_13 , org . nd4j . linalg . api . buffer . IDENT_13 > IDENT_20 = IDENT_21 . METHOD_23 ( op . x ( ) , IDENT_7 ) ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_15 IDENT_22 = IDENT_20 . METHOD_24 ( ) . METHOD_22 ( ) ; org . nd4j . linalg . api . buffer . IDENT_13 IDENT_23 = IDENT_20 . METHOD_25 ( ) ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_15 IDENT_24 = ( IDENT_23 == null ) ? null : IDENT_23 . METHOD_22 ( ) ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . METHOD_10 IDENT_25 = IDENT_8 . get ( ) . put ( IDENT_22 , IDENT_24 ) ; long IDENT_26 = METHOD_26 ( op , IDENT_20 . METHOD_24 ( ) ) ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_15 x = op . x ( ) . data ( ) . METHOD_22 ( ) ; org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_15 METHOD_16 = op . METHOD_16 ( ) . data ( ) . METHOD_22 ( ) ; if ( ( op . x ( ) . data ( ) . METHOD_9 ( ) ) == ( IDENT_13 . Type . IDENT_14 ) ) { if ( op . METHOD_16 ( ) . METHOD_27 ( ) ) { int res = ( ( int ) ( IDENT_27 . METHOD_28 ( IDENT_25 , op . METHOD_29 ( ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_28 ) ( op . x ( ) . data ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . x ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_28 ) ( METHOD_31 ( op ) ) ) ) ) ) ; op . METHOD_32 ( res ) ; op . METHOD_16 ( ) . METHOD_33 ( 0 , ( ( float ) ( res ) ) ) ; } else { IDENT_27 . METHOD_34 ( IDENT_25 , op . METHOD_29 ( ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_28 ) ( x ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . x ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_28 ) ( METHOD_31 ( op ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_28 ) ( METHOD_16 ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . METHOD_16 ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_30 ) ( IDENT_16 ) ) , IDENT_7 . length ) ; } } else { if ( op . METHOD_16 ( ) . METHOD_27 ( ) ) { int res = ( ( int ) ( IDENT_27 . METHOD_35 ( IDENT_25 , op . METHOD_29 ( ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_31 ) ( op . x ( ) . data ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . x ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_31 ) ( METHOD_31 ( op ) ) ) ) ) ) ; op . METHOD_32 ( res ) ; op . METHOD_16 ( ) . METHOD_33 ( 0 , ( ( float ) ( res ) ) ) ; } else { IDENT_27 . METHOD_36 ( IDENT_25 , op . METHOD_29 ( ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_31 ) ( op . x ( ) . data ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . x ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_31 ) ( METHOD_31 ( op ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_31 ) ( op . METHOD_16 ( ) . data ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_29 ) ( op . METHOD_16 ( ) . METHOD_30 ( ) . METHOD_22 ( ) ) ) , ( ( org . nd4j . linalg . IDENT_4 . IDENT_5 . IDENT_1 . IDENT_30 ) ( IDENT_16 ) ) , IDENT_7 . length ) ; } } METHOD_37 ( op , IDENT_26 ) ; return op . METHOD_16 ( ) ; }
org . junit . Assert . assertEquals ( expected , results )