pytorch
81776373 - remove duplicated op schema for aten::pow (#39606)

Commit
4 years ago
remove duplicated op schema for aten::pow (#39606) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39606 Removed duplicated schema for aten::pow Test Plan: Previously there are many duplicated aten::pow ``` aten::pow.int(int a, int b) -> (float) aten::pow.float(float a, float b) -> (float) aten::pow.int_float(int a, float b) -> (float) aten::pow.float_int(float a, int b) -> (float) aten::pow(Scalar a, Scalar b) -> (float) aten::pow.int(int a, int b) -> (int) // duplicated name! aten::pow.float(float a, float b) -> (float) // duplicated schema! aten::pow.int_float(int a, float b) -> (float) // duplicated schema! aten::pow.float_int(float a, int b) -> (float) // duplicated schema! aten::pow(Scalar a, Scalar b) -> (Scalar) // duplicated name! ``` After this diff, there are only 7 ops with different overload name: ``` aten::pow.int(int a, int b) -> (float) aten::pow.float(float a, float b) -> (float) aten::pow.int_float(int a, float b) -> (float) aten::pow.float_int(float a, int b) -> (float) aten::pow(Scalar a, Scalar b) -> (float) aten::pow.Scalar(Scalar a, Scalar b) -> (Scalar) aten::pow.int_to_int(int a, int b) -> (int) ``` Reviewed By: iseeyuan Differential Revision: D21914441 fbshipit-source-id: 1e82c83c77d22206046276bbb52a65088c58ed33
Author
Parents
Loading