public void setValueFor(Field target, Object value) {
    """
	Set the value for this function.
	Note that if value is null an {@link ND4JIllegalStateException}
	will be thrown.
	
	@param target the target field
	@param value  the value to set
    """
        if (value == null) {
            throw new ND4JIllegalStateException("Unable to set field " + target + " using null value!");
        }

        value = ensureProperType(target, value);

        try {
            target.set(this, value);
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
public void setValueFor(Field target, Object value) {
        if (value == null) {
            throw new ND4JIllegalStateException("Unable to set field " + target + " using null value!");
        }

        value = ensureProperType(target, value);

        try {
            target.set(this, value);
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
public void setValueFor ( Field target , Object value ) { if ( value == null ) { throw new ND4JIllegalStateException ( "Unable to set field " + target + " using null value!" ) ; } value = ensureProperType ( target , value ) ; try { target . set ( this , value ) ; } catch ( IllegalAccessException e ) { e . printStackTrace ( ) ; } }
Set the value for this function.
Note that if value is null an {@link ND4JIllegalStateException}
will be thrown.

@param target the target field
@param value  the value to set
Set the value for this function . Note that if value is null an { @link ND4JIllegalStateException } will be thrown .