3c4ac6d01e8df19d9696cfcb88373611296e68f2,theano/sandbox/rng_mrg.py,,,#,1338

Before Change


    return local_gpua_mrg_graph(node.op, context_name, node.inputs, node.outputs)


MRG_RNGs = (mrg_uniform, GPUA_mrg_uniform)


@local_optimizer(MRG_RNGs)
def mrg_random_make_inplace(node):

After Change


        return new_op.make_node(*node.inputs).outputs
    return False

optdb.register("random_make_inplace_mrg",
               opt.in2out(mrg_random_make_inplace, ignore_newtrees=True),
               99, "fast_run", "inplace")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Theano/Theano
Commit Name: 3c4ac6d01e8df19d9696cfcb88373611296e68f2
Time: 2017-04-03
Author: abergeron@gmail.com
File Name: theano/sandbox/rng_mrg.py
Class Name:
Method Name:


Project Name: OpenMined/Grid
Commit Name: 0bce5765b02513a167e454f112a61bd70d47d6ff
Time: 2020-03-02
Author: ionesiojr@gmail.com
File Name: gateway/app/main/processes/controller.py
Class Name: FLController
Method Name: create_cycle


Project Name: dask/distributed
Commit Name: 177dfb891089cc872bab34fb8369d75cae13bc0a
Time: 2018-08-19
Author: mrocklin@gmail.com
File Name: distributed/protocol/serialize.py
Class Name:
Method Name: register_serialization