def from_json_path(cls, json_path):
        """
        :param json_path: definition path which can be stored in a local file system, HDFS, S3, or any Hadoop-supported file system.
        :return: BigDL Model
        """
        json_str = BCommon.text_from_path(json_path)
        return DefinitionLoader.from_json_str(json_str)
def from_json_path(cls, json_path):
        """
        :param json_path: definition path which can be stored in a local file system, HDFS, S3, or any Hadoop-supported file system.
        :return: BigDL Model
        """
        json_str = BCommon.text_from_path(json_path)
        return DefinitionLoader.from_json_str(json_str)
def from_json_path ( cls , json_path ) : json_str = BCommon . text_from_path ( json_path ) return DefinitionLoader . from_json_str ( json_str )
:param json_path: definition path which can be stored in a local file system, HDFS, S3, or any Hadoop-supported file system.
        :return: BigDL Model
: param json_path : definition path which can be stored in a local file system HDFS S3 or any Hadoop - supported file system . : return : BigDL Model