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

infershape to infermeta (#37107)

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