From 3c1096067eb58b1689089f596866188e20dfbefd Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Thu, 25 Nov 2021 21:27:45 -0600 Subject: [PATCH] infershape header to infermeta (#37554) --- paddle/pten/all.h | 2 +- paddle/pten/api/lib/creation.cc | 2 +- paddle/pten/api/lib/linalg.cc | 2 +- paddle/pten/api/lib/math.cc | 2 +- paddle/pten/api/lib/utils.cc | 2 +- paddle/pten/include/creation.h | 2 +- paddle/pten/include/{infershape.h => infermeta.h} | 0 paddle/pten/include/linalg.h | 2 +- paddle/pten/include/manipulation.h | 2 +- paddle/pten/include/math.h | 2 +- 10 files changed, 9 insertions(+), 9 deletions(-) rename paddle/pten/include/{infershape.h => infermeta.h} (100%) diff --git a/paddle/pten/all.h b/paddle/pten/all.h index f9532eb33d..b7ef1c1ec2 100644 --- a/paddle/pten/all.h +++ b/paddle/pten/all.h @@ -17,7 +17,7 @@ limitations under the License. */ // developer apis #include "paddle/pten/include/core.h" #include "paddle/pten/include/creation.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/include/linalg.h" #include "paddle/pten/include/manipulation.h" #include "paddle/pten/include/math.h" diff --git a/paddle/pten/api/lib/creation.cc b/paddle/pten/api/lib/creation.cc index de44f96a99..40054b5d27 100644 --- a/paddle/pten/api/lib/creation.cc +++ b/paddle/pten/api/lib/creation.cc @@ -23,7 +23,7 @@ limitations under the License. */ #include "paddle/pten/api/lib/utils/allocator.h" #include "paddle/pten/core/kernel_registry.h" #include "paddle/pten/include/core.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" PT_DECLARE_MODULE(CreationCPU); diff --git a/paddle/pten/api/lib/linalg.cc b/paddle/pten/api/lib/linalg.cc index 3255b3b1b5..8eae16d901 100644 --- a/paddle/pten/api/lib/linalg.cc +++ b/paddle/pten/api/lib/linalg.cc @@ -26,7 +26,7 @@ limitations under the License. */ #include "paddle/pten/core/kernel_context.h" #include "paddle/pten/core/kernel_registry.h" #include "paddle/pten/include/core.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" PT_DECLARE_MODULE(LinalgCPU); diff --git a/paddle/pten/api/lib/math.cc b/paddle/pten/api/lib/math.cc index cbae7dcfc8..30d6ab2aa8 100644 --- a/paddle/pten/api/lib/math.cc +++ b/paddle/pten/api/lib/math.cc @@ -23,7 +23,7 @@ limitations under the License. */ #include "paddle/pten/api/lib/utils/allocator.h" #include "paddle/pten/core/kernel_registry.h" #include "paddle/pten/include/core.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/infermeta/unary.h" PT_DECLARE_MODULE(MathCPU); diff --git a/paddle/pten/api/lib/utils.cc b/paddle/pten/api/lib/utils.cc index c17e2e33a6..0948ba5d69 100644 --- a/paddle/pten/api/lib/utils.cc +++ b/paddle/pten/api/lib/utils.cc @@ -23,7 +23,7 @@ limitations under the License. */ #include "paddle/pten/api/lib/utils/allocator.h" #include "paddle/pten/core/kernel_registry.h" #include "paddle/pten/include/core.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" PT_DECLARE_MODULE(UtilsCPU); diff --git a/paddle/pten/include/creation.h b/paddle/pten/include/creation.h index ee6b9c1106..a4f3a0464b 100644 --- a/paddle/pten/include/creation.h +++ b/paddle/pten/include/creation.h @@ -15,7 +15,7 @@ #pragma once #include "paddle/pten/api/lib/utils/allocator.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/kernels/cpu/creation.h" #include "paddle/pten/kernels/cuda/creation.h" diff --git a/paddle/pten/include/infershape.h b/paddle/pten/include/infermeta.h similarity index 100% rename from paddle/pten/include/infershape.h rename to paddle/pten/include/infermeta.h diff --git a/paddle/pten/include/linalg.h b/paddle/pten/include/linalg.h index 6d5b51675e..b21645ef18 100644 --- a/paddle/pten/include/linalg.h +++ b/paddle/pten/include/linalg.h @@ -16,7 +16,7 @@ // See Note: [ How do we organize the kernel directory ] #include "paddle/pten/api/lib/utils/allocator.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/kernels/cpu/linalg.h" #include "paddle/pten/kernels/cuda/linalg.h" diff --git a/paddle/pten/include/manipulation.h b/paddle/pten/include/manipulation.h index 7a7ecb5898..ee68c6aa62 100644 --- a/paddle/pten/include/manipulation.h +++ b/paddle/pten/include/manipulation.h @@ -16,7 +16,7 @@ // See Note: [ How do we organize the kernel directory ] #include "paddle/pten/api/lib/utils/allocator.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/kernels/cpu/manipulation.h" #include "paddle/pten/kernels/cuda/manipulation.h" #include "paddle/pten/kernels/xpu/manipulation.h" diff --git a/paddle/pten/include/math.h b/paddle/pten/include/math.h index 8fc4e27ee7..e6880c64af 100644 --- a/paddle/pten/include/math.h +++ b/paddle/pten/include/math.h @@ -16,7 +16,7 @@ limitations under the License. */ // See Note: [ How do we organize the kernel directory ] #include "paddle/pten/api/lib/utils/allocator.h" -#include "paddle/pten/include/infershape.h" +#include "paddle/pten/include/infermeta.h" #include "paddle/pten/kernels/cpu/math.h" #include "paddle/pten/kernels/cuda/math.h" -- GitLab