@staticmethod<EOL><INDENT>def loadModel(modelPath, weightPath =None, bigdl_type="<STR_LIT:float>"):<DEDENT>
jmodel = callBigDlFunc(bigdl_type, "<STR_LIT>", modelPath, weightPath)<EOL>return Layer.of(jmodel)<EOL>
Load a pre-trained Bigdl model.

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