From 795a0a9ab40b476b43b2f7cf48e6e2986262c1ee Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Fri, 10 Apr 2020 10:47:34 +0800 Subject: [PATCH] fix a typo, test=develop (#23685) --- python/paddle/fluid/dygraph/math_op_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/dygraph/math_op_patch.py b/python/paddle/fluid/dygraph/math_op_patch.py index dbd8d803f6..8e4752999b 100644 --- a/python/paddle/fluid/dygraph/math_op_patch.py +++ b/python/paddle/fluid/dygraph/math_op_patch.py @@ -195,7 +195,7 @@ def monkey_patch_math_varbase(): axis = -1 math_op = getattr(core.ops, op_type) - return math_op(self, other_var, 'aixs', axis) + return math_op(self, other_var, 'axis', axis) comment = OpProtoHolder.instance().get_op_proto(op_type).comment -- GitLab