METHOD_0 ( ) { IDENT_0 . val original = org . nd4j . linalg . factory . Nd4j . METHOD_1 ( 1 , INT_0 , INT_0 , IDENT_1 . IDENT_2 ) . METHOD_2 ( 5 , 5 ) ; IDENT_0 . val IDENT_3 = new com . google . IDENT_4 . METHOD_3 ( 0 ) ; int array = original . METHOD_4 ( IDENT_3 ) ; IDENT_3 . METHOD_5 ( array ) ; IDENT_0 . val IDENT_5 = org . nd4j . graph . IDENT_6 . METHOD_6 ( IDENT_3 . METHOD_7 ( ) ) ; IDENT_0 . val IDENT_7 = org . nd4j . linalg . factory . Nd4j . METHOD_8 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . nd4j . graph . IDENT_6 ) { IDENT_0 . val IDENT_8 = array . METHOD_9 ( ) ; IDENT_0 . val order = array . METHOD_10 ( ) ; IDENT_0 . val IDENT_9 = ( ( int ) ( array . METHOD_11 ( 0 ) ) ) ; IDENT_0 . val IDENT_10 = new long [ org . nd4j . linalg . api . METHOD_11 . IDENT_11 . METHOD_12 ( IDENT_9 ) ] ; for ( int e = 0 ; e < ( IDENT_10 . length ) ; e ++ ) IDENT_10 [ e ] = array . METHOD_11 ( e ) ; if ( org . nd4j . linalg . api . METHOD_11 . IDENT_11 . isEmpty ( IDENT_10 ) ) return org . nd4j . linalg . factory . Nd4j . empty ( ) ; char IDENT_12 = ( ( IDENT_10 [ ( ( IDENT_10 . length ) - 1 ) ] ) == INT_1 ) ? STRING_0 : STRING_1 ; IDENT_0 . val IDENT_13 = org . nd4j . linalg . api . METHOD_11 . IDENT_11 . METHOD_13 ( IDENT_10 ) ; IDENT_0 . val IDENT_14 = org . nd4j . linalg . api . METHOD_11 . IDENT_11 . METHOD_14 ( IDENT_10 ) ; IDENT_0 . val IDENT_15 = org . nd4j . IDENT_16 . IDENT_17 . IDENT_18 . IDENT_19 . METHOD_15 ( METHOD_9 ) ; IDENT_0 . val IDENT_20 = org . nd4j . IDENT_16 . IDENT_17 . IDENT_18 . IDENT_19 . METHOD_16 ( order ) ; IDENT_0 . val IDENT_21 = ( IDENT_9 > 0 ) ? org . nd4j . linalg . util . IDENT_22 . METHOD_17 ( METHOD_13 ) : 1 ; IDENT_0 . val IDENT_23 = array . METHOD_18 ( ) ; switch ( IDENT_15 ) { case IDENT_24 : { IDENT_0 . val IDENT_25 = new double [ METHOD_17 ] ; IDENT_0 . val db = IDENT_23 . order ( IDENT_20 ) . METHOD_19 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = db . get ( e ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_24 ) ; } case IDENT_2 : { IDENT_0 . val IDENT_25 = new float [ METHOD_17 ] ; IDENT_0 . val IDENT_26 = IDENT_23 . order ( IDENT_20 ) . METHOD_20 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = IDENT_26 . get ( e ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_2 ) ; } case IDENT_27 : { IDENT_0 . val IDENT_25 = new float [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_21 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = org . nd4j . linalg . factory . IDENT_28 . METHOD_22 ( ( ( int ) ( sb . get ( e ) ) ) ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_27 ) ; } case IDENT_29 : { IDENT_0 . val IDENT_25 = new int [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_23 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = sb . get ( e ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_29 ) ; } case IDENT_30 : { IDENT_0 . val IDENT_25 = new long [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_24 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = sb . get ( e ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_30 ) ; } case IDENT_31 : { IDENT_0 . val IDENT_25 = new short [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_21 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = sb . get ( e ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_31 ) ; } case IDENT_32 : { IDENT_0 . val IDENT_25 = new byte [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_25 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = ( ( byte ) ( sb . get ( ( e + ( sb . position ( ) ) ) ) ) ) ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_32 ) ; } case IDENT_33 : { IDENT_0 . val IDENT_25 = new boolean [ METHOD_17 ] ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) . METHOD_25 ( ) ; for ( int e = 0 ; e < METHOD_17 ; e ++ ) IDENT_25 [ e ] = ( sb . get ( ( e + ( sb . position ( ) ) ) ) ) == 1 ; return org . nd4j . linalg . factory . Nd4j . create ( IDENT_25 , METHOD_13 , METHOD_14 , IDENT_12 , IDENT_1 . IDENT_33 ) ; } case IDENT_34 : { try { IDENT_0 . val list = new org . nd4j . linalg . factory . ArrayList < java . lang . String > ( METHOD_17 ) ; IDENT_0 . val sb = IDENT_23 . order ( IDENT_20 ) ; IDENT_0 . val pos = IDENT_23 . position ( ) ; IDENT_0 . val arr = new byte [ sb . METHOD_26 ( ) ] ; for ( int e = 0 ; e < ( arr . length ) ; e ++ ) { arr [ e ] = sb . get ( e ) ; } IDENT_0 . val bytes = org . nd4j . linalg . factory . Arrays . METHOD_27 ( arr , pos , arr . length ) ; IDENT_0 . val IDENT_35 = new org . nd4j . linalg . factory . ByteArrayInputStream ( bytes ) ; IDENT_0 . val IDENT_36 = new org . nd4j . linalg . factory . METHOD_28 ( IDENT_35 ) ; IDENT_0 . val length = ( ( int ) ( IDENT_36 . METHOD_29 ( ) ) ) ; IDENT_0 . val IDENT_37 = new long [ length + 1 ] ; for ( int e = 0 ; e <= length ; e ++ ) IDENT_37 [ e ] = IDENT_36 . METHOD_29 ( ) ; for ( int e = 0 ; e < length ; e ++ ) { IDENT_0 . val start = IDENT_37 [ e ] ; IDENT_0 . val end = IDENT_37 [ ( e + 1 ) ] ; IDENT_0 . val len = end - start ; IDENT_0 . val builder = new java . lang . StringBuilder ( ) ; for ( int c = 0 ; c < len ; c ++ ) { builder . append ( ( ( char ) ( IDENT_36 . METHOD_30 ( ) ) ) ) ; } list . add ( builder . toString ( ) ) ; } return org . nd4j . linalg . factory . Nd4j . create ( list , METHOD_13 ) ; } catch ( org . nd4j . linalg . factory . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } } default : throw new java . lang . METHOD_31 ( ( ( STRING_2 + IDENT_15 ) + "]" ) ) ; } }
org . junit . Assert . assertEquals ( original , IDENT_7 )