Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
2e68abf4
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2e68abf4
编写于
7月 18, 2018
作者:
L
Luo Tao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename api.h to paddle_inference_api.h, put demo_ci in fluid_install_dir
上级
7b719760
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
13 addition
and
11 deletion
+13
-11
cmake/inference_lib.cmake
cmake/inference_lib.cmake
+4
-2
paddle/fluid/inference/api/api.cc
paddle/fluid/inference/api/api.cc
+1
-1
paddle/fluid/inference/api/api_anakin_engine.h
paddle/fluid/inference/api/api_anakin_engine.h
+1
-1
paddle/fluid/inference/api/api_anakin_engine_tester.cc
paddle/fluid/inference/api/api_anakin_engine_tester.cc
+1
-1
paddle/fluid/inference/api/api_impl.h
paddle/fluid/inference/api/api_impl.h
+1
-1
paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc
paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc
+1
-1
paddle/fluid/inference/api/demo_ci/simple_on_word2vec.cc
paddle/fluid/inference/api/demo_ci/simple_on_word2vec.cc
+1
-1
paddle/fluid/inference/api/demo_ci/utils.h
paddle/fluid/inference/api/demo_ci/utils.h
+1
-1
paddle/fluid/inference/api/paddle_inference_api.h
paddle/fluid/inference/api/paddle_inference_api.h
+0
-0
paddle/fluid/inference/api/test_api.cc
paddle/fluid/inference/api/test_api.cc
+1
-1
paddle/fluid/inference/api/test_api_tensorrt_subgraph_engine.cc
.../fluid/inference/api/test_api_tensorrt_subgraph_engine.cc
+1
-1
未找到文件。
cmake/inference_lib.cmake
浏览文件 @
2e68abf4
...
...
@@ -149,8 +149,10 @@ if (WITH_ANAKIN AND WITH_GPU)
endif
()
copy
(
inference_api_lib DEPS paddle_inference_api paddle_inference_api_shared
SRCS
${
src_dir
}
/
${
module
}
/api.h
${
PADDLE_BINARY_DIR
}
/paddle/fluid/inference/api/libpaddle_inference_api*
DSTS
${
dst_dir
}
/inference
${
dst_dir
}
/inference
SRCS
${
src_dir
}
/
${
module
}
/paddle_inference_api.h
${
src_dir
}
/
${
module
}
/demo_ci
${
PADDLE_BINARY_DIR
}
/paddle/fluid/inference/api/libpaddle_inference_api*
DSTS
${
dst_dir
}
/inference
${
dst_dir
}
/inference
${
dst_dir
}
/inference
)
list
(
APPEND inference_deps inference_api_lib
)
...
...
paddle/fluid/inference/api/api.cc
浏览文件 @
2e68abf4
...
...
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
namespace
paddle
{
...
...
paddle/fluid/inference/api/api_anakin_engine.h
浏览文件 @
2e68abf4
...
...
@@ -20,7 +20,7 @@ limitations under the License. */
#pragma once
#include <vector>
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
// from anakin
#include "framework/core/net/net.h"
...
...
paddle/fluid/inference/api/api_anakin_engine_tester.cc
浏览文件 @
2e68abf4
...
...
@@ -16,7 +16,7 @@ limitations under the License. */
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
DEFINE_string
(
model
,
""
,
"Directory of the inference model."
);
...
...
paddle/fluid/inference/api/api_impl.h
浏览文件 @
2e68abf4
...
...
@@ -19,7 +19,7 @@
#include <string>
#include <vector>
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
#include "paddle/fluid/framework/ddim.h"
#include "paddle/fluid/framework/lod_tensor.h"
...
...
paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc
浏览文件 @
2e68abf4
...
...
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/analysis/analyzer.h"
#include "paddle/fluid/inference/api/api_impl.h"
#include "paddle/fluid/inference/api/paddle_inference_api.h"
#include "paddle/fluid/inference/utils/singleton.h"
namespace
paddle
{
...
...
paddle/fluid/inference/api/demo_ci/simple_on_word2vec.cc
浏览文件 @
2e68abf4
...
...
@@ -20,7 +20,7 @@ limitations under the License. */
#include <glog/logging.h>
#include <memory>
#include <thread> //NOLINT
#include "paddle/fluid/inference/api.h"
#include "paddle/fluid/inference/
paddle_inference_
api.h"
#include "paddle/fluid/platform/enforce.h"
DEFINE_string
(
dirname
,
""
,
"Directory of the inference model."
);
...
...
paddle/fluid/inference/api/demo_ci/utils.h
浏览文件 @
2e68abf4
...
...
@@ -16,7 +16,7 @@
#include <algorithm>
#include <string>
#include <vector>
#include "paddle/fluid/inference/api.h"
#include "paddle/fluid/inference/
paddle_inference_
api.h"
namespace
paddle
{
namespace
demo
{
...
...
paddle/fluid/inference/api/api.h
→
paddle/fluid/inference/api/
paddle_inference_
api.h
浏览文件 @
2e68abf4
文件已移动
paddle/fluid/inference/api/test_api.cc
浏览文件 @
2e68abf4
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
namespace
paddle
{
...
...
paddle/fluid/inference/api/test_api_tensorrt_subgraph_engine.cc
浏览文件 @
2e68abf4
...
...
@@ -15,7 +15,7 @@
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "paddle/fluid/inference/api/api.h"
#include "paddle/fluid/inference/api/
paddle_inference_
api.h"
namespace
paddle
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录