nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java
public Map<String,Object> propertiesForFunction() {
        val fields = DifferentialFunctionClassHolder.getInstance().getFieldsForFunction(this);
        Map<String,Object> ret = new LinkedHashMap<>();

        for(val entry : fields.entrySet()) {
            try {
                ret.put(entry.getKey(),fields.get(entry.getKey()).get(this));
            } catch (IllegalAccessException e) {
                e.printStackTrace();
            }
        }

        return ret;
    }
public Map<String,Object> propertiesForFunction() {
        val fields = DifferentialFunctionClassHolder.getInstance().getFieldsForFunction(this);
        Map<String,Object> ret = new LinkedHashMap<>();

        for(val entry : fields.entrySet()) {
            try {
                ret.put(entry.getKey(),fields.get(entry.getKey()).get(this));
            } catch (IllegalAccessException e) {
                e.printStackTrace();
            }
        }

        return ret;
    }
public Map < String , Object > propertiesForFunction ( ) { val fields = DifferentialFunctionClassHolder . getInstance ( ) . getFieldsForFunction ( this ) ; Map < String , Object > ret = new LinkedHashMap <> ( ) ; for ( val entry : fields . entrySet ( ) ) { try { ret . put ( entry . getKey ( ) , fields . get ( entry . getKey ( ) ) . get ( this ) ) ; } catch ( IllegalAccessException e ) { e . printStackTrace ( ) ; } } return ret ; }
Returns the properties for a given function
@return
Returns the properties for a given function