forked from mindspore-Ecosystem/mindspore
!48345 add AcosGrad adapter for acl
Merge pull request !48345 from qiuzhongya/cosgrad
This commit is contained in:
commit
3f752000ef
|
@ -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";
|
||||
|
|
|
@ -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)}};
|
||||
|
|
Loading…
Reference in New Issue