841d93d366b1465959dba03512d64513c5ff568f,rllib/examples/multi_agent_cartpole.py,,,#,26

Before Change


parser.add_argument("--simple", action="store_true")
parser.add_argument("--num-cpus", type=int, default=0)
parser.add_argument("--as-test", action="store_true")
parser.add_argument("--torch", action="store_true")

if __name__ == "__main__":
    args = parser.parse_args()

After Change


parser.add_argument("--simple", action="store_true")
parser.add_argument("--num-cpus", type=int, default=0)
parser.add_argument("--as-test", action="store_true")
parser.add_argument(
    "--framework", choices=["tf2", "tf", "tfe", "torch"], default="tf")

if __name__ == "__main__":
    args = parser.parse_args()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 841d93d366b1465959dba03512d64513c5ff568f
Time: 2020-11-25
Author: sven@anyscale.io
File Name: rllib/examples/multi_agent_cartpole.py
Class Name:
Method Name:


Project Name: dmlc/gluon-nlp
Commit Name: e78a24eeb124ff9efb99b1aee7ab1ee9181c9e0f
Time: 2020-07-17
Author: szha@users.noreply.github.com
File Name: tools/batch/submit-job.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 54d85a6c2a765fde77948b475db79f905a8618b6
Time: 2020-11-02
Author: sven@anyscale.io
File Name: rllib/examples/cartpole_lstm.py
Class Name:
Method Name: