Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OPTHREE
Paddle
提交
efa54629
P
Paddle
项目概览
OPTHREE
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
efa54629
编写于
1月 12, 2021
作者:
石
石晓伟
提交者:
GitHub
1月 12, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix header file paths of gflags, commit 3, test=develop (#30273)
上级
5b2c15af
变更
15
显示空白变更内容
内联
并排
Showing
15 changed file
with
17 addition
and
18 deletion
+17
-18
paddle/fluid/inference/tests/api/trt_quant_int8_test.cc
paddle/fluid/inference/tests/api/trt_quant_int8_test.cc
+1
-1
paddle/fluid/inference/tests/api/trt_quant_int8_yolov3_r50_test.cc
...uid/inference/tests/api/trt_quant_int8_yolov3_r50_test.cc
+1
-1
paddle/fluid/inference/tests/api/trt_resnet50_test.cc
paddle/fluid/inference/tests/api/trt_resnet50_test.cc
+1
-1
paddle/fluid/inference/tests/api/trt_resnext_test.cc
paddle/fluid/inference/tests/api/trt_resnext_test.cc
+1
-1
paddle/fluid/inference/tests/api/trt_split_converter_test.cc
paddle/fluid/inference/tests/api/trt_split_converter_test.cc
+1
-1
paddle/fluid/memory/allocation/allocator_facade.cc
paddle/fluid/memory/allocation/allocator_facade.cc
+1
-2
paddle/fluid/memory/allocation/auto_growth_best_fit_allocator_facade_test.cc
.../allocation/auto_growth_best_fit_allocator_facade_test.cc
+1
-1
paddle/fluid/operators/distributed/communicator.cc
paddle/fluid/operators/distributed/communicator.cc
+1
-1
paddle/fluid/operators/distributed/heart_beat_monitor.h
paddle/fluid/operators/distributed/heart_beat_monitor.h
+1
-1
paddle/fluid/operators/distributed/large_scale_kv.h
paddle/fluid/operators/distributed/large_scale_kv.h
+1
-1
paddle/fluid/operators/index_sample_op.h
paddle/fluid/operators/index_sample_op.h
+1
-1
paddle/fluid/operators/jit/gen_base.h
paddle/fluid/operators/jit/gen_base.h
+1
-1
paddle/fluid/operators/optimizers/adam_op_xpu.cc
paddle/fluid/operators/optimizers/adam_op_xpu.cc
+3
-3
paddle/fluid/operators/tdm_child_op.h
paddle/fluid/operators/tdm_child_op.h
+1
-1
paddle/fluid/operators/tdm_sampler_op.h
paddle/fluid/operators/tdm_sampler_op.h
+1
-1
未找到文件。
paddle/fluid/inference/tests/api/trt_quant_int8_test.cc
浏览文件 @
efa54629
...
...
@@ -12,10 +12,10 @@ 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 <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <numeric>
#include "gflags/gflags.h"
#include "paddle/fluid/inference/tests/api/trt_test_helper.h"
...
...
paddle/fluid/inference/tests/api/trt_quant_int8_yolov3_r50_test.cc
浏览文件 @
efa54629
...
...
@@ -9,10 +9,10 @@ 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 <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <numeric>
#include "gflags/gflags.h"
#include "paddle/fluid/inference/tests/api/trt_test_helper.h"
...
...
paddle/fluid/inference/tests/api/trt_resnet50_test.cc
浏览文件 @
efa54629
...
...
@@ -12,9 +12,9 @@ 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 <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "gflags/gflags.h"
#include "paddle/fluid/inference/tests/api/trt_test_helper.h"
...
...
paddle/fluid/inference/tests/api/trt_resnext_test.cc
浏览文件 @
efa54629
...
...
@@ -12,9 +12,9 @@ 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 <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "gflags/gflags.h"
#include "paddle/fluid/inference/tests/api/trt_test_helper.h"
...
...
paddle/fluid/inference/tests/api/trt_split_converter_test.cc
浏览文件 @
efa54629
...
...
@@ -12,9 +12,9 @@ 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 <gflags/gflags.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include "gflags/gflags.h"
#include "paddle/fluid/inference/tests/api/trt_test_helper.h"
...
...
paddle/fluid/memory/allocation/allocator_facade.cc
浏览文件 @
efa54629
...
...
@@ -14,14 +14,13 @@
#include "paddle/fluid/memory/allocation/allocator_facade.h"
#include <gflags/gflags.h>
#include <map>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/memory/allocation/allocator.h"
#include "paddle/fluid/memory/allocation/allocator_strategy.h"
#include "paddle/fluid/memory/allocation/auto_growth_best_fit_allocator.h"
...
...
paddle/fluid/memory/allocation/auto_growth_best_fit_allocator_facade_test.cc
浏览文件 @
efa54629
...
...
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <gflags/gflags.h>
#include <gtest/gtest.h>
#include <chrono> // NOLINT
#include <condition_variable> // NOLINT
#include <mutex> // NOLINT
#include <random>
#include <thread> // NOLINT
#include "gflags/gflags.h"
#include "paddle/fluid/memory/allocation/allocator_facade.h"
#include "paddle/fluid/platform/gpu_info.h"
...
...
paddle/fluid/operators/distributed/communicator.cc
浏览文件 @
efa54629
...
...
@@ -14,7 +14,6 @@ limitations under the License. */
#include "paddle/fluid/operators/distributed/communicator.h"
#include <gflags/gflags.h>
#include <paddle/fluid/framework/program_desc.h>
#include <algorithm>
...
...
@@ -23,6 +22,7 @@ limitations under the License. */
#include <thread> // NOLINT
#include <unordered_set>
#include "gflags/gflags.h"
#include "paddle/fluid/framework/eigen.h"
#include "paddle/fluid/framework/selected_rows.h"
#include "paddle/fluid/framework/tensor_util.h"
...
...
paddle/fluid/operators/distributed/heart_beat_monitor.h
浏览文件 @
efa54629
...
...
@@ -15,7 +15,6 @@
#pragma once
#include <ThreadPool.h>
#include <gflags/gflags.h>
#include <functional>
#include <future> // NOLINT
#include <memory>
...
...
@@ -25,6 +24,7 @@
#include <unordered_set>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/platform/enforce.h"
...
...
paddle/fluid/operators/distributed/large_scale_kv.h
浏览文件 @
efa54629
...
...
@@ -15,7 +15,6 @@
#pragma once
#include <ThreadPool.h>
#include <gflags/gflags.h>
#include <functional>
#include <future> // NOLINT
#include <memory>
...
...
@@ -25,6 +24,7 @@
#include <unordered_set>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/framework/generator.h"
#include "paddle/fluid/framework/lod_tensor.h"
...
...
paddle/fluid/operators/index_sample_op.h
浏览文件 @
efa54629
...
...
@@ -14,13 +14,13 @@ limitations under the License. */
#pragma once
#include <gflags/gflags.h>
#include <cmath>
#include <fstream>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/framework/op_registry.h"
namespace
paddle
{
...
...
paddle/fluid/operators/jit/gen_base.h
浏览文件 @
efa54629
...
...
@@ -14,10 +14,10 @@
#pragma once
#include <gflags/gflags.h>
#include <memory> // for unique_ptr
#include <string>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/operators/jit/kernel_base.h"
...
...
paddle/fluid/operators/optimizers/adam_op_xpu.cc
浏览文件 @
efa54629
...
...
@@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/optimizers/adam_op.h"
#include
<gflags/gflags.h>
#include
"gflags/gflags.h"
namespace
paddle
{
namespace
operators
{
...
...
@@ -109,7 +109,7 @@ class AdamOpXPUKernel : public framework::OpKernel<T> {
mom2_out
.
template
mutable_data
<
T
>(
ctx
.
GetPlace
()),
param_out
.
template
mutable_data
<
T
>(
ctx
.
GetPlace
()),
param
.
numel
());
//update in cpu and then copy to xpu
//
update in cpu and then copy to xpu
if
(
beta1_pow
.
place
()
==
platform
::
CPUPlace
()
&&
beta2_pow
.
place
()
==
platform
::
CPUPlace
())
{
const
T
*
beta1_pow_p
=
beta1_pow
.
template
data
<
T
>();
...
...
paddle/fluid/operators/tdm_child_op.h
浏览文件 @
efa54629
...
...
@@ -14,13 +14,13 @@
#pragma once
#include <gflags/gflags.h>
#include <cmath>
#include <fstream>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/framework/mixed_vector.h"
#include "paddle/fluid/framework/op_registry.h"
...
...
paddle/fluid/operators/tdm_sampler_op.h
浏览文件 @
efa54629
...
...
@@ -14,13 +14,13 @@
#pragma once
#include <gflags/gflags.h>
#include <cmath>
#include <fstream>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "gflags/gflags.h"
#include "paddle/fluid/framework/mixed_vector.h"
#include "paddle/fluid/framework/op_registry.h"
#include "paddle/fluid/operators/math/sampler.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录