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