diff --git a/paddle/phi/api/include/compat/ATen/AccumulateType.cpp b/paddle/phi/api/include/compat/ATen/AccumulateType.cpp index 174eac6a8a6b6f..52a948fde500f1 100644 --- a/paddle/phi/api/include/compat/ATen/AccumulateType.cpp +++ b/paddle/phi/api/include/compat/ATen/AccumulateType.cpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #include diff --git a/paddle/phi/api/include/compat/ATen/AccumulateType.h b/paddle/phi/api/include/compat/ATen/AccumulateType.h index 29b7bf33adcb69..7975c0fc3a2c10 100644 --- a/paddle/phi/api/include/compat/ATen/AccumulateType.h +++ b/paddle/phi/api/include/compat/ATen/AccumulateType.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/core/Generator.h b/paddle/phi/api/include/compat/ATen/core/Generator.h index 1382f350c05d01..a72aaf19d268bd 100644 --- a/paddle/phi/api/include/compat/ATen/core/Generator.h +++ b/paddle/phi/api/include/compat/ATen/core/Generator.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/core/TensorAccessor.h b/paddle/phi/api/include/compat/ATen/core/TensorAccessor.h index 7389eda5d0f6c0..c46cefc042ab83 100644 --- a/paddle/phi/api/include/compat/ATen/core/TensorAccessor.h +++ b/paddle/phi/api/include/compat/ATen/core/TensorAccessor.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/core/TensorMethods.cpp b/paddle/phi/api/include/compat/ATen/core/TensorMethods.cpp index 2ed682664a75b6..9ad1e952a888b9 100644 --- a/paddle/phi/api/include/compat/ATen/core/TensorMethods.cpp +++ b/paddle/phi/api/include/compat/ATen/core/TensorMethods.cpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #include diff --git a/paddle/phi/api/include/compat/ATen/core/ivalue.h b/paddle/phi/api/include/compat/ATen/core/ivalue.h index f1151e2dcf537d..bde0e87c47e416 100644 --- a/paddle/phi/api/include/compat/ATen/core/ivalue.h +++ b/paddle/phi/api/include/compat/ATen/core/ivalue.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDABlas.h b/paddle/phi/api/include/compat/ATen/cuda/CUDABlas.h index a940bdf5372f0c..6c785e334a3302 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDABlas.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDABlas.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.cpp b/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.cpp index d2e6be8b288b5b..ea69ab9a401e85 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.cpp +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.cpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP) diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.h b/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.h index 721a301342ab5b..73d5edfc26e16a 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDAContext.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDAContextLight.h b/paddle/phi/api/include/compat/ATen/cuda/CUDAContextLight.h index b987ae8d993328..fbd825981a38c3 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDAContextLight.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDAContextLight.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDADataType.h b/paddle/phi/api/include/compat/ATen/cuda/CUDADataType.h index 01fd1704df8daf..631d774533b498 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDADataType.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDADataType.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDAEvent.h b/paddle/phi/api/include/compat/ATen/cuda/CUDAEvent.h index ea977013b93bf7..4a92a47289f5ee 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDAEvent.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDAEvent.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/ATen/cuda/CUDAGeneratorImpl.h b/paddle/phi/api/include/compat/ATen/cuda/CUDAGeneratorImpl.h index 7e93447ddec7c5..412eaf8b9f992b 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/CUDAGeneratorImpl.h +++ b/paddle/phi/api/include/compat/ATen/cuda/CUDAGeneratorImpl.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h b/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h index 88fb46df5de78a..f70a0af6aa5f5a 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h +++ b/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/cuda/PhiloxUtils.cuh b/paddle/phi/api/include/compat/ATen/cuda/PhiloxUtils.cuh index 1358ad5fa560bd..ae9ff1868579c6 100644 --- a/paddle/phi/api/include/compat/ATen/cuda/PhiloxUtils.cuh +++ b/paddle/phi/api/include/compat/ATen/cuda/PhiloxUtils.cuh @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/ops/_local_scalar_dense.h b/paddle/phi/api/include/compat/ATen/ops/_local_scalar_dense.h index 8dbbecf76d7129..7106c2dfae4565 100644 --- a/paddle/phi/api/include/compat/ATen/ops/_local_scalar_dense.h +++ b/paddle/phi/api/include/compat/ATen/ops/_local_scalar_dense.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/ATen/ops/arange.h b/paddle/phi/api/include/compat/ATen/ops/arange.h index 63d29a373af6a3..029adc18fee39a 100644 --- a/paddle/phi/api/include/compat/ATen/ops/arange.h +++ b/paddle/phi/api/include/compat/ATen/ops/arange.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/ATen/ops/sum.h b/paddle/phi/api/include/compat/ATen/ops/sum.h index 900621aa3541db..7c6510288203bc 100644 --- a/paddle/phi/api/include/compat/ATen/ops/sum.h +++ b/paddle/phi/api/include/compat/ATen/ops/sum.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/ATen/ops/tensor.h b/paddle/phi/api/include/compat/ATen/ops/tensor.h index 4f95f3aa82cd2d..947c1c4a0f5deb 100644 --- a/paddle/phi/api/include/compat/ATen/ops/tensor.h +++ b/paddle/phi/api/include/compat/ATen/ops/tensor.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/ATen/ops/tensor_split.h b/paddle/phi/api/include/compat/ATen/ops/tensor_split.h index 81816bac470bfb..6904bc2c544770 100644 --- a/paddle/phi/api/include/compat/ATen/ops/tensor_split.h +++ b/paddle/phi/api/include/compat/ATen/ops/tensor_split.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/c10/core/Allocator.h b/paddle/phi/api/include/compat/c10/core/Allocator.h index 14a9f2f7dd57d1..b7f7d9da8b649e 100644 --- a/paddle/phi/api/include/compat/c10/core/Allocator.h +++ b/paddle/phi/api/include/compat/c10/core/Allocator.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/Device.cpp b/paddle/phi/api/include/compat/c10/core/Device.cpp index db8e74c3feb24f..09c3e2b98c9657 100644 --- a/paddle/phi/api/include/compat/c10/core/Device.cpp +++ b/paddle/phi/api/include/compat/c10/core/Device.cpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #include diff --git a/paddle/phi/api/include/compat/c10/core/GeneratorImpl.h b/paddle/phi/api/include/compat/c10/core/GeneratorImpl.h index 816ee521091b43..d8d9fc97248fcb 100644 --- a/paddle/phi/api/include/compat/c10/core/GeneratorImpl.h +++ b/paddle/phi/api/include/compat/c10/core/GeneratorImpl.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/Layout.h b/paddle/phi/api/include/compat/c10/core/Layout.h index 4916dd768be1a5..d5fafbbb2c234d 100644 --- a/paddle/phi/api/include/compat/c10/core/Layout.h +++ b/paddle/phi/api/include/compat/c10/core/Layout.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/List.h b/paddle/phi/api/include/compat/c10/core/List.h index bbc6c869476063..e8f03840778046 100644 --- a/paddle/phi/api/include/compat/c10/core/List.h +++ b/paddle/phi/api/include/compat/c10/core/List.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/MemoryFormat.h b/paddle/phi/api/include/compat/c10/core/MemoryFormat.h index d3fcfc3063a497..3ac6ecce378374 100644 --- a/paddle/phi/api/include/compat/c10/core/MemoryFormat.h +++ b/paddle/phi/api/include/compat/c10/core/MemoryFormat.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/ScalarTypeToTypeMeta.h b/paddle/phi/api/include/compat/c10/core/ScalarTypeToTypeMeta.h index bf8f0d2a2be65c..055e2f9ac2cd99 100644 --- a/paddle/phi/api/include/compat/c10/core/ScalarTypeToTypeMeta.h +++ b/paddle/phi/api/include/compat/c10/core/ScalarTypeToTypeMeta.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/Storage.h b/paddle/phi/api/include/compat/c10/core/Storage.h index 2342e4f55f7d44..c8b0196b1188c2 100644 --- a/paddle/phi/api/include/compat/c10/core/Storage.h +++ b/paddle/phi/api/include/compat/c10/core/Storage.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/core/Stream.cpp b/paddle/phi/api/include/compat/c10/core/Stream.cpp index 60873f6e05a93c..0f1d1b95be9705 100644 --- a/paddle/phi/api/include/compat/c10/core/Stream.cpp +++ b/paddle/phi/api/include/compat/c10/core/Stream.cpp @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #include #ifdef PADDLE_WITH_CUDA diff --git a/paddle/phi/api/include/compat/c10/core/TensorOptions.h b/paddle/phi/api/include/compat/c10/core/TensorOptions.h index e84d5b0522059e..30c06c95005b8c 100644 --- a/paddle/phi/api/include/compat/c10/core/TensorOptions.h +++ b/paddle/phi/api/include/compat/c10/core/TensorOptions.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/cuda/CUDAFunctions.cpp b/paddle/phi/api/include/compat/c10/cuda/CUDAFunctions.cpp index 482bf7036d7cea..23fb3e92ab61f8 100644 --- a/paddle/phi/api/include/compat/c10/cuda/CUDAFunctions.cpp +++ b/paddle/phi/api/include/compat/c10/cuda/CUDAFunctions.cpp @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #include namespace c10::cuda { diff --git a/paddle/phi/api/include/compat/c10/cuda/CUDAGuard.h b/paddle/phi/api/include/compat/c10/cuda/CUDAGuard.h index 8f2193ef46ae0e..f63694ca70baf9 100644 --- a/paddle/phi/api/include/compat/c10/cuda/CUDAGuard.h +++ b/paddle/phi/api/include/compat/c10/cuda/CUDAGuard.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/cuda/CUDAStream.h b/paddle/phi/api/include/compat/c10/cuda/CUDAStream.h index e258d832876510..de3f05f63cf6f7 100644 --- a/paddle/phi/api/include/compat/c10/cuda/CUDAStream.h +++ b/paddle/phi/api/include/compat/c10/cuda/CUDAStream.h @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +// The file has been adapted from pytorch project +// Licensed under BSD-style license - +// https://github.com/pytorch/pytorch/blob/main/LICENSE + #pragma once #include diff --git a/paddle/phi/api/include/compat/c10/macros/Macros.h b/paddle/phi/api/include/compat/c10/macros/Macros.h index 93dc71215c23e5..96bc0ceb054d83 100644 --- a/paddle/phi/api/include/compat/c10/macros/Macros.h +++ b/paddle/phi/api/include/compat/c10/macros/Macros.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/ArrayRef.h b/paddle/phi/api/include/compat/c10/util/ArrayRef.h index 5ac33f70d91400..82f1de7ea1490a 100644 --- a/paddle/phi/api/include/compat/c10/util/ArrayRef.h +++ b/paddle/phi/api/include/compat/c10/util/ArrayRef.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/Exception.h b/paddle/phi/api/include/compat/c10/util/Exception.h index 2651c83646044c..598890a1dbf50b 100644 --- a/paddle/phi/api/include/compat/c10/util/Exception.h +++ b/paddle/phi/api/include/compat/c10/util/Exception.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/OptionalArrayRef.h b/paddle/phi/api/include/compat/c10/util/OptionalArrayRef.h index 8a25aa359e0ccd..8301150369b6d6 100644 --- a/paddle/phi/api/include/compat/c10/util/OptionalArrayRef.h +++ b/paddle/phi/api/include/compat/c10/util/OptionalArrayRef.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/TypeIndex.h b/paddle/phi/api/include/compat/c10/util/TypeIndex.h index 4773120e940f4a..fde71ba7a5ed81 100644 --- a/paddle/phi/api/include/compat/c10/util/TypeIndex.h +++ b/paddle/phi/api/include/compat/c10/util/TypeIndex.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/accumulate.h b/paddle/phi/api/include/compat/c10/util/accumulate.h index 9e9a3bc1e78f08..d75d23fc4d6255 100644 --- a/paddle/phi/api/include/compat/c10/util/accumulate.h +++ b/paddle/phi/api/include/compat/c10/util/accumulate.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/c10/util/typeid.cpp b/paddle/phi/api/include/compat/c10/util/typeid.cpp index 3a8cf4377a939b..2035b5c70d1d14 100644 --- a/paddle/phi/api/include/compat/c10/util/typeid.cpp +++ b/paddle/phi/api/include/compat/c10/util/typeid.cpp @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #include diff --git a/paddle/phi/api/include/compat/c10/util/typeid.h b/paddle/phi/api/include/compat/c10/util/typeid.h index b791e61ba55d40..dfaa4db287d765 100644 --- a/paddle/phi/api/include/compat/c10/util/typeid.h +++ b/paddle/phi/api/include/compat/c10/util/typeid.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/nn/functional.h b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/nn/functional.h index 1af3094264200d..5e3bc8cf62b657 100644 --- a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/nn/functional.h +++ b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/nn/functional.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/python.h b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/python.h index d9c22b956aee27..eba77c46137d4d 100644 --- a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/python.h +++ b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/python.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/torch.h b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/torch.h index 1cda9990d416d9..3eca48bf039e58 100644 --- a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/torch.h +++ b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/torch.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/types.h b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/types.h index 36faaec0920e14..a7e2affc2ea5e1 100644 --- a/paddle/phi/api/include/compat/torch/csrc/api/include/torch/types.h +++ b/paddle/phi/api/include/compat/torch/csrc/api/include/torch/types.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/extension.h b/paddle/phi/api/include/compat/torch/extension.h index 2a19fdbc44e4fe..398fd04f88c02e 100644 --- a/paddle/phi/api/include/compat/torch/extension.h +++ b/paddle/phi/api/include/compat/torch/extension.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/paddle/phi/api/include/compat/torch/library.h b/paddle/phi/api/include/compat/torch/library.h index ce42f425bb5637..2147455dc997f5 100644 --- a/paddle/phi/api/include/compat/torch/library.h +++ b/paddle/phi/api/include/compat/torch/library.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// #The file has been adapted from pytorch project -// #Licensed under BSD-style license - +// The file has been adapted from pytorch project +// Licensed under BSD-style license - // https://github.com/pytorch/pytorch/blob/main/LICENSE #pragma once diff --git a/python/paddle/_classes.py b/python/paddle/_classes.py index 6e4ccb2cc990db..fc30cbed88a42a 100644 --- a/python/paddle/_classes.py +++ b/python/paddle/_classes.py @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -# #The file has been adapted from pytorch project -# #Licensed under BSD-style license - -# https://github.com/pytorch/pytorch/blob/main/LICENSE +# The file has been adapted from pytorch project +# Licensed under BSD-style license - +# https://github.com/pytorch/pytorch/blob/main/LICENSE from __future__ import annotations diff --git a/python/paddle/_ops.py b/python/paddle/_ops.py index 9aa62fc86d9940..296e4e16ae8afc 100644 --- a/python/paddle/_ops.py +++ b/python/paddle/_ops.py @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -# #The file has been adapted from pytorch project -# #Licensed under BSD-style license - -# https://github.com/pytorch/pytorch/blob/main/LICENSE +# The file has been adapted from pytorch project +# Licensed under BSD-style license - +# https://github.com/pytorch/pytorch/blob/main/LICENSE from __future__ import annotations diff --git a/python/paddle/library.py b/python/paddle/library.py index eb803f1bc4913c..b9bd76c0c9a35e 100644 --- a/python/paddle/library.py +++ b/python/paddle/library.py @@ -12,9 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -# #The file has been adapted from pytorch project -# #Licensed under BSD-style license - -# https://github.com/pytorch/pytorch/blob/main/LICENSE +# The file has been adapted from pytorch project +# Licensed under BSD-style license - +# https://github.com/pytorch/pytorch/blob/main/LICENSE from __future__ import annotations