!48345 add AcosGrad adapter for acl

Merge pull request !48345 from qiuzhongya/cosgrad
This commit is contained in:
i-robot 2023-02-02 12:35:31 +00:00 committed by Gitee
commit 3f752000ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 1 deletions

View File

@ -238,6 +238,7 @@ constexpr const char kNameCos[] = "Cos";
constexpr const char kNameCosh[] = "Cosh";
constexpr const char kNameACos[] = "ACos";
constexpr const char kNameACosGrad[] = "ACosGrad";
constexpr const char kNameAcosGrad[] = "AcosGrad";
constexpr const char kNameFloorDiv[] = "FloorDiv";
constexpr const char kNameSin[] = "Sin";
constexpr const char kNameSinh[] = "Sinh";

View File

@ -96,7 +96,8 @@ REG_ADPT_DESC(Acos, kNameACos, ADPT_DESC(Acos))
INPUT_MAP(AcosGrad) = {{1, INPUT_DESC(y)}, {2, INPUT_DESC(dy)}};
ATTR_MAP(AcosGrad) = EMPTY_ATTR_MAP;
OUTPUT_MAP(AcosGrad) = {{0, OUTPUT_DESC(z)}};
REG_ADPT_DESC(AcosGrad, kNameACosGrad, ADPT_DESC(AcosGrad))
REG_ADPT_DESC(ACosGrad, kNameACosGrad, ADPT_DESC(AcosGrad))
REG_ADPT_DESC(AcosGrad, kNameAcosGrad, ADPT_DESC(AcosGrad))
// Acosh
INPUT_MAP(Acosh) = {{1, INPUT_DESC(x)}};