diff --git a/python/tvm/expr.py b/python/tvm/expr.py index adbf63968b8d0606f4594bd268dfbf8f31c4e64a..b6bac8808bb710edca671c431583262b25b4ac24 100644 --- a/python/tvm/expr.py +++ b/python/tvm/expr.py @@ -38,7 +38,7 @@ class Expr(object): return BinaryOpExpr(_op.div, self, other) def __rdiv__(self, other): - return BinaryOpExpr(_op.div, self, other) + return BinaryOpExpr(_op.div, other, self) def __truediv__(self, other): return self.__div__(other)