METHOD_0 ( ) { double [ ] [ ] [ ] IDENT_0 = new double [ 3 ] [ ] [ ] ; double [ ] [ ] [ ] IDENT_1 = new double [ 3 ] [ ] [ ] ; IDENT_0 [ 0 ] = new double [ ] [ ] { new double [ ] { 1 , 10 , 2 } , new double [ ] { 3 , 4 , 5 } } ; IDENT_0 [ 1 ] = new double [ ] [ ] { new double [ ] { - 10 , - 9 , - 8 } , new double [ ] { - 7 , - 6 , - 5 } } ; IDENT_0 [ 2 ] = new double [ ] [ ] { new double [ ] { 4 , 3 , 2 } , new double [ ] { 1 , 0 , - 1 } } ; IDENT_1 [ 0 ] = new double [ ] [ ] { new double [ ] { 0 , 1 , 0 } , new double [ ] { 0 , 0 , 0 } } ; IDENT_1 [ 1 ] = new double [ ] [ ] { new double [ ] { 0 , 0 , 0 } , new double [ ] { 0 , 0 , 1 } } ; IDENT_1 [ 2 ] = new double [ ] [ ] { new double [ ] { 1 , 0 , 0 } , new double [ ] { 0 , 0 , 0 } } ; org . nd4j . linalg . api . ndarray . INDArray arr = org . nd4j . linalg . factory . Nd4j . create ( 3 , 2 , 3 ) ; org . nd4j . linalg . api . ndarray . INDArray expected = org . nd4j . linalg . factory . Nd4j . create ( 3 , 2 , 3 ) ; for ( int i = 0 ; i < 3 ; i ++ ) { arr . get ( org . nd4j . linalg . indexing . IDENT_2 . METHOD_1 ( i ) , org . nd4j . linalg . indexing . IDENT_2 . METHOD_2 ( ) , org . nd4j . linalg . indexing . IDENT_2 . METHOD_2 ( ) ) . METHOD_3 ( org . nd4j . linalg . factory . Nd4j . create ( IDENT_0 [ i ] ) ) ; expected . get ( org . nd4j . linalg . indexing . IDENT_2 . METHOD_1 ( i ) , org . nd4j . linalg . indexing . IDENT_2 . METHOD_2 ( ) , org . nd4j . linalg . indexing . IDENT_2 . METHOD_2 ( ) ) . METHOD_3 ( org . nd4j . linalg . factory . Nd4j . create ( IDENT_1 [ i ] ) ) ; } org . nd4j . linalg . factory . Nd4j . METHOD_4 ( ) . exec ( new org . nd4j . linalg . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_5 ( arr , 1 , 2 ) ) ; "<AssertPlaceHolder>" ; } exec ( org . nd4j . linalg . api . IDENT_5 . impl . IDENT_6 . IDENT_7 , boolean , int [ ] ) { IDENT_8 . METHOD_6 ( IDENT_9 ) ; return exec ( IDENT_8 , IDENT_10 ) ; }
org . junit . Assert . assertEquals ( expected , arr )