217ae02bbd4eafd5b803cae2a10fa1ab9e194201,python/mxnet/symbol/numpy/_symbol.py,_Symbol,__rdiv__,#_Symbol#Any#,99

Before Change


                             " been encountered.")

    def __rdiv__(self, other):
        raise AttributeError("_Symbol.__rdiv__ is replaced by __rtruediv__. If you are using"
                             " Python2, please use the statement from __future__ import division"
                             " to change the / operator to mean true division throughout the"
                             " module. If you are using Python3, this error should not have"
                             " been encountered.")

    def __mod__(self, other):
        x.__mod__(y) <=> x % y
        return mod(self, other)

After Change



    def __rdiv__(self, other):
        x.__rdiv__(y) <=> y / x
        return divide(other, self)

    def __mod__(self, other):
        x.__mod__(y) <=> x % y
        return mod(self, other)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: apache/incubator-mxnet
Commit Name: 217ae02bbd4eafd5b803cae2a10fa1ab9e194201
Time: 2019-10-20
Author: wujun.nju@gmail.com
File Name: python/mxnet/symbol/numpy/_symbol.py
Class Name: _Symbol
Method Name: __rdiv__


Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 44f6cac0bbb0d7969ece849cea078c508df7041b
Time: 2019-06-07
Author: slliu96@163.com
File Name: category_encoders/hashing.py
Class Name: HashingEncoder
Method Name: transform


Project Name: apache/incubator-mxnet
Commit Name: 217ae02bbd4eafd5b803cae2a10fa1ab9e194201
Time: 2019-10-20
Author: wujun.nju@gmail.com
File Name: python/mxnet/symbol/numpy/_symbol.py
Class Name: _Symbol
Method Name: __div__


Project Name: apache/incubator-mxnet
Commit Name: a98cefc74c10985a78050b35d9f888d215a3ff8e
Time: 2019-11-26
Author: xshiab@connect.ust.hk
File Name: python/mxnet/symbol/numpy/_symbol.py
Class Name: _Symbol
Method Name: __iter__


Project Name: ScottfreeLLC/AlphaPy
Commit Name: fb90122cff40307f4b2b6f679e945a0397eb0163
Time: 2016-03-25
Author: Mark.R.Conway@gmail.com
File Name: optimize.py
Class Name:
Method Name: hyper_grid_search