public static FunctionProperties fromFlatProperties ( FlatProperties properties ) { val props = new FunctionProperties ( ) ; for ( int e = 0 ; e < properties . iLength ( ) ; e ++ ) props . getI ( ) . ( properties . i ( ) ) ; for ( int e = 0 ; e < properties . lLength ( ) ; e ++ ) props . getL ( ) . ( properties . l ( ) ) ; for ( int e = 0 ; e < properties . dLength ( ) ; e ++ ) props . getD ( ) . ( properties . ( e ) ) ; for ( int e = 0 ; e < properties . iLength ( ) ; e ++ ) props . getA ( ) . ( Nd4j . createFromFlatArray ( properties . ( ) ) ) ; return props ; }
This method creates new FunctionProperties instance from FlatBuffers representation