public static FunctionProperties fromFlatProperties(FlatProperties properties) {
        val props = new FunctionProperties();

        for (int e = 0; e < properties.iLength(); e++)
            props.getI().add(properties.i(e));

        for (int e = 0; e < properties.lLength(); e++)
            props.getL().add(properties.l(e));

        for (int e = 0; e < properties.dLength(); e++)
            props.getD().add(properties.d(e));

        for (int e = 0; e < properties.iLength(); e++)
            props.getA().add(Nd4j.createFromFlatArray(properties.a(e)));

        return props;
    }
public static FunctionProperties fromFlatProperties(FlatProperties properties) {
        val props = new FunctionProperties();

        for (int e = 0; e < properties.iLength(); e++)
            props.getI().add(properties.i(e));

        for (int e = 0; e < properties.lLength(); e++)
            props.getL().add(properties.l(e));

        for (int e = 0; e < properties.dLength(); e++)
            props.getD().add(properties.d(e));

        for (int e = 0; e < properties.iLength(); e++)
            props.getA().add(Nd4j.createFromFlatArray(properties.a(e)));

        return props;
    }
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
@param properties
@return
This method creates new FunctionProperties instance from FlatBuffers representation