pyspark/bigdl/nn/layer.py
def loadModel(modelPath, weightPath =None, bigdl_type="float"):
        """
        Load a pre-trained Bigdl model.

        :param path: The path containing the pre-trained model.
        :return: A pre-trained model.
        """
        jmodel = callBigDlFunc(bigdl_type, "loadBigDLModule", modelPath, weightPath)
        return Layer.of(jmodel)
def loadModel(modelPath, weightPath =None, bigdl_type="float"):
        """
        Load a pre-trained Bigdl model.

        :param path: The path containing the pre-trained model.
        :return: A pre-trained model.
        """
        jmodel = callBigDlFunc(bigdl_type, "loadBigDLModule", modelPath, weightPath)
        return Layer.of(jmodel)
def loadModel ( modelPath , weightPath = None , bigdl_type = "float" ) : jmodel = callBigDlFunc ( bigdl_type , "loadBigDLModule" , modelPath , weightPath ) return Layer . of ( jmodel )
Load a pre-trained Bigdl model.

        :param path: The path containing the pre-trained model.
        :return: A pre-trained model.
Load a pre - trained Bigdl model .