diff --git a/mindspore/core/ops/apply_momentum.h b/mindspore/core/ops/apply_momentum.h index 5bacc77af72..7dbb3bb3720 100644 --- a/mindspore/core/ops/apply_momentum.h +++ b/mindspore/core/ops/apply_momentum.h @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2020-2022 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc index ec6b2dc1f61..c6a8f636ac3 100644 --- a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc +++ b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2020-2022 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.h b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.h index 7581b44fe28..821e31b8e11 100644 --- a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.h +++ b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.h @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright 2020-2022 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/mindspore/python/mindspore/ops/operations/array_ops.py b/mindspore/python/mindspore/ops/operations/array_ops.py index 6c8361dfe97..28074963fc4 100755 --- a/mindspore/python/mindspore/ops/operations/array_ops.py +++ b/mindspore/python/mindspore/ops/operations/array_ops.py @@ -1,6 +1,6 @@ # coding: utf-8 -# Copyright 2020-2021 Huawei Technologies Co., Ltd +# Copyright 2020-2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -5027,7 +5027,7 @@ class SpaceToDepth(PrimitiveWithInfer): return x_dtype -class DepthToSpace(PrimitiveWithInfer): +class DepthToSpace(Primitive): r""" Rearrange blocks of depth data into spatial dimensions. diff --git a/mindspore/python/mindspore/ops/operations/nn_ops.py b/mindspore/python/mindspore/ops/operations/nn_ops.py index 5bee014e052..d2efc7f10a7 100644 --- a/mindspore/python/mindspore/ops/operations/nn_ops.py +++ b/mindspore/python/mindspore/ops/operations/nn_ops.py @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Huawei Technologies Co., Ltd +# Copyright 2020-2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -6034,7 +6034,7 @@ class SparseApplyProximalAdagrad(PrimitiveWithCheck): validator.check_tensor_dtype_valid('indices', indices_dtype, valid_dtypes, self.name) -class ApplyAddSign(PrimitiveWithInfer): +class ApplyAddSign(Primitive): r""" Updates relevant entries according to the AddSign algorithm.