Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
66a28e13
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看板
未验证
提交
66a28e13
编写于
6月 23, 2022
作者:
R
Ruibiao Chen
提交者:
GitHub
6月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary includings for pstring.h (#43752)
* Remove unnecessary including for pstring.h * Fix typos
上级
e3d94fc5
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
174 addition
and
88 deletion
+174
-88
paddle/fluid/framework/convert_utils.cc
paddle/fluid/framework/convert_utils.cc
+2
-0
paddle/fluid/pybind/tensor_py.h
paddle/fluid/pybind/tensor_py.h
+159
-86
paddle/phi/common/data_type.h
paddle/phi/common/data_type.h
+6
-1
paddle/phi/core/string_tensor.cc
paddle/phi/core/string_tensor.cc
+1
-0
paddle/phi/core/string_tensor.h
paddle/phi/core/string_tensor.h
+4
-1
paddle/phi/kernels/strings/cpu/strings_copy_kernel.cc
paddle/phi/kernels/strings/cpu/strings_copy_kernel.cc
+1
-0
paddle/phi/tests/api/test_strings_lower_upper_api.cc
paddle/phi/tests/api/test_strings_lower_upper_api.cc
+1
-0
未找到文件。
paddle/fluid/framework/convert_utils.cc
浏览文件 @
66a28e13
...
@@ -11,10 +11,12 @@ distributed under the License is distributed on an "AS IS" BASIS,
...
@@ -11,10 +11,12 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "paddle/fluid/framework/convert_utils.h"
#include "paddle/fluid/framework/convert_utils.h"
// See Note [ Why still include the fluid headers? ]
// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/platform/device/gpu/gpu_info.h"
#include "paddle/fluid/platform/device/gpu/gpu_info.h"
#include "paddle/phi/common/pstring.h"
namespace
paddle
{
namespace
paddle
{
namespace
framework
{
namespace
framework
{
...
...
paddle/fluid/pybind/tensor_py.h
浏览文件 @
66a28e13
此差异已折叠。
点击以展开。
paddle/phi/common/data_type.h
浏览文件 @
66a28e13
...
@@ -18,7 +18,12 @@ limitations under the License. */
...
@@ -18,7 +18,12 @@ limitations under the License. */
#include "paddle/phi/common/bfloat16.h"
#include "paddle/phi/common/bfloat16.h"
#include "paddle/phi/common/complex.h"
#include "paddle/phi/common/complex.h"
#include "paddle/phi/common/float16.h"
#include "paddle/phi/common/float16.h"
#include "paddle/phi/common/pstring.h"
namespace
phi
{
namespace
dtype
{
class
pstring
;
}
// namespace dtype
}
// namespace phi
namespace
paddle
{
namespace
paddle
{
namespace
experimental
{
namespace
experimental
{
...
...
paddle/phi/core/string_tensor.cc
浏览文件 @
66a28e13
...
@@ -15,6 +15,7 @@ limitations under the License. */
...
@@ -15,6 +15,7 @@ limitations under the License. */
#include "paddle/phi/core/string_tensor.h"
#include "paddle/phi/core/string_tensor.h"
#include "paddle/fluid/memory/malloc.h"
#include "paddle/fluid/memory/malloc.h"
#include "paddle/phi/common/pstring.h"
namespace
phi
{
namespace
phi
{
...
...
paddle/phi/core/string_tensor.h
浏览文件 @
66a28e13
...
@@ -14,13 +14,16 @@ limitations under the License. */
...
@@ -14,13 +14,16 @@ limitations under the License. */
#pragma once
#pragma once
#include "paddle/phi/common/pstring.h"
#include "paddle/phi/core/allocator.h"
#include "paddle/phi/core/allocator.h"
#include "paddle/phi/core/tensor_base.h"
#include "paddle/phi/core/tensor_base.h"
#include "paddle/phi/core/tensor_meta.h"
#include "paddle/phi/core/tensor_meta.h"
namespace
phi
{
namespace
phi
{
namespace
dtype
{
class
pstring
;
}
// namespace dtype
/// \brief In Paddle 2.3, we add a new type of Tensor, StringTensor,
/// \brief In Paddle 2.3, we add a new type of Tensor, StringTensor,
/// which is designed for string data management.
/// which is designed for string data management.
/// During the entire life cycle of a StringTensor, its device type and key
/// During the entire life cycle of a StringTensor, its device type and key
...
...
paddle/phi/kernels/strings/cpu/strings_copy_kernel.cc
浏览文件 @
66a28e13
...
@@ -15,6 +15,7 @@ limitations under the License. */
...
@@ -15,6 +15,7 @@ limitations under the License. */
#include "paddle/phi/kernels/strings/strings_copy_kernel.h"
#include "paddle/phi/kernels/strings/strings_copy_kernel.h"
#include "glog/logging.h"
#include "glog/logging.h"
#include "paddle/phi/common/pstring.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/kernel_registry.h"
namespace
phi
{
namespace
phi
{
...
...
paddle/phi/tests/api/test_strings_lower_upper_api.cc
浏览文件 @
66a28e13
...
@@ -19,6 +19,7 @@ limitations under the License. */
...
@@ -19,6 +19,7 @@ limitations under the License. */
#include "paddle/phi/api/include/strings_api.h"
#include "paddle/phi/api/include/strings_api.h"
#include "paddle/phi/api/lib/utils/allocator.h"
#include "paddle/phi/api/lib/utils/allocator.h"
#include "paddle/phi/backends/all_context.h"
#include "paddle/phi/backends/all_context.h"
#include "paddle/phi/common/pstring.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/string_tensor.h"
#include "paddle/phi/core/string_tensor.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录