!28958 Code_specification_for_dynamic_shape_operator for r1.6

Merge pull request !28958 from 张毅辉/cherry-pick-1641984593
This commit is contained in:
i-robot 2022-01-13 02:00:46 +00:00 committed by Gitee
commit fd6c4322cc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.