@staticmethod<EOL><INDENT>def load_caffe(model, defPath, modelPath, match_all=True, bigdl_type="<STR_LIT:float>"):<DEDENT>
jmodel = callBigDlFunc(bigdl_type, "<STR_LIT>", model, defPath, modelPath, match_all)<EOL>return Layer.of(jmodel)<EOL>
Load a pre-trained Caffe model.


:param model: A bigdl model definition \which equivalent to the pre-trained caffe model.
:param defPath: The path containing the caffe model definition.
:param modelPath: The path containing the pre-trained caffe model.
:return: A pre-trained model.