提交 00c10da6 编写于 作者: L liuruilong

format files

上级 0f7030a0
...@@ -20,17 +20,16 @@ limitations under the License. */ ...@@ -20,17 +20,16 @@ limitations under the License. */
#include <vector> #include <vector>
#include "common/types.h" #include "common/types.h"
#include "framework/tensor.h"
#include "framework/operator.h"
#include "framework/lod_tensor.h" #include "framework/lod_tensor.h"
#include "framework/operator.h"
#include "framework/program/program.h" #include "framework/program/program.h"
#include "framework/tensor.h"
namespace paddle_mobile { namespace paddle_mobile {
template <typename Dtype = CPU, Precision P = Precision::FP32> template <typename Dtype = CPU, Precision P = Precision::FP32>
class Loader { class Loader {
public: public:
/* /*
* @b load separate format fluid model * @b load separate format fluid model
* @b 加载分开形式的 fluid 模型 * @b 加载分开形式的 fluid 模型
...@@ -45,6 +44,7 @@ class Loader { ...@@ -45,6 +44,7 @@ class Loader {
const framework::Program<Dtype, P> Load(const std::string &model_path, const framework::Program<Dtype, P> Load(const std::string &model_path,
const std::string &para_path, const std::string &para_path,
bool optimize = false); bool optimize = false);
private: private:
const framework::Program<Dtype, P> LoadProgram(const std::string &model_path, const framework::Program<Dtype, P> LoadProgram(const std::string &model_path,
bool optimize = false); bool optimize = false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册