def from_jvalue(jvalue, bigdl_type="float"):
        """
        Create a Python Model base on the given java value
        :param jvalue: Java object create by Py4j
        :return: A Python Model
        """
        model = Model([], [], jvalue=jvalue)
        model.value = jvalue
        return model
def from_jvalue(jvalue, bigdl_type="float"):
        """
        Create a Python Model base on the given java value
        :param jvalue: Java object create by Py4j
        :return: A Python Model
        """
        model = Model([], [], jvalue=jvalue)
        model.value = jvalue
        return model
def from_jvalue ( jvalue , bigdl_type = "float" ) : model = Model ( [ ] , [ ] , jvalue = jvalue ) model . value = jvalue return model
Create a Python Model base on the given java value
        :param jvalue: Java object create by Py4j
        :return: A Python Model
Create a Python Model base on the given java value : param jvalue : Java object create by Py4j : return : A Python Model