提交 040826b7 编写于 作者: W wangliu

modify code style

上级 bd8e81bb
......@@ -29,11 +29,11 @@ namespace paddle_mobile {
template <typename Dtype = CPU, Precision P = Precision::FP32>
class Loader {
public:
public:
const framework::Program<Dtype, P> Load(const std::string &dirname,
bool optimize = false);
private:
private:
void LoadVar(framework::Variable *variable,
const framework::VarDesc &var_desc,
const std::string &file_path);
......@@ -41,7 +41,7 @@ private:
template <typename Dtype = CPU, Precision P = Precision::FP32>
class Executor {
public:
public:
typedef typename PrecisionTrait<P>::ptype Ptype;
Executor(const framework::Program<Dtype> p, int batch_size = 1,
......@@ -52,7 +52,7 @@ public:
std::vector<Ptype> Predict(const std::vector<Ptype> &input,
const std::vector<int64_t> &dims);
protected:
protected:
Executor() = default;
void InitMemory();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册