未验证 提交 0fc9919b 编写于 作者: C Chen Weihang 提交者: GitHub

infershape to infermeta (#37107)

上级 ca7f1cd2
......@@ -5,8 +5,8 @@ add_subdirectory(api)
add_subdirectory(core)
# pten kernels for diff device
add_subdirectory(kernels)
# pten infershape
add_subdirectory(infershape)
# pten infermeta
add_subdirectory(infermeta)
# pten tests
add_subdirectory(tests)
......
......@@ -20,7 +20,7 @@ limitations under the License. */
#include "paddle/pten/api/lib/kernel_dispatch.h"
#include "paddle/pten/api/lib/utils/allocator.h"
#include "paddle/pten/include/core.h"
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
namespace paddle {
namespace experimental {
......
......@@ -22,7 +22,7 @@ limitations under the License. */
#include "paddle/pten/api/lib/utils/allocator.h"
#include "paddle/pten/include/core.h"
#include "paddle/pten/include/infershape.h"
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
namespace paddle {
namespace experimental {
......
......@@ -15,6 +15,6 @@ limitations under the License. */
#pragma once
// See Note: [ How do we organize the kernel directory ]
#include "paddle/pten/infershape/binary.h"
#include "paddle/pten/infershape/nary.h"
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/binary.h"
#include "paddle/pten/infermeta/nary.h"
#include "paddle/pten/infermeta/unary.h"
......@@ -13,8 +13,9 @@ See the License for the specific language governing permissions and
limitations under the License. */
// See Note [ Why still include the fluid headers? ]
#include "paddle/pten/infershape/binary.h"
#include "paddle/pten/infermeta/binary.h"
#include "paddle/pten/kernels/functions/general/elementwise_base.h"
namespace pten {
DenseTensorMeta DotInferShape(const DenseTensorMeta& x_meta,
......
......@@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License. */
// See Note [ Why still include the fluid headers? ]
#include "paddle/pten/infershape/nary.h"
#include "paddle/pten/infermeta/nary.h"
namespace pten {
......
......@@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License. */
// See Note [ Why still include the fluid headers? ]
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
namespace pten {
......
......@@ -13,7 +13,7 @@
// limitations under the License.
#include "paddle/pten/kernels/cpu/manipulation.h"
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
#include "paddle/pten/kernels/cpu/utils.h"
namespace pten {
......
......@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
#include "paddle/pten/kernels/cuda/manipulation.h"
#include "paddle/pten/kernels/cuda/utils.h"
......
......@@ -13,7 +13,7 @@
// limitations under the License.
#include "paddle/pten/kernels/xpu/manipulation.h"
#include "paddle/pten/infershape/unary.h"
#include "paddle/pten/infermeta/unary.h"
#include "paddle/pten/kernels/xpu/utils.h"
namespace pten {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册