5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a,python/ray/util/sgd/torch/examples/train_example.py,,,#,98
Before Change
import ray
ray.init(address=args.address)
train_example(num_workers=args.num_workers, use_gpu=args.use_gpu)
After Change
args, _ = parser.parse_known_args()
import ray
if args.smoke_test:
ray.init(num_cpus=2)
else:
ray.init(address=args.address)
train_example(num_workers=args.num_workers, use_gpu=args.use_gpu)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: ray-project/ray
Commit Name: 5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a
Time: 2020-09-13
Author: ian.rodney@gmail.com
File Name: python/ray/util/sgd/torch/examples/train_example.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a
Time: 2020-09-13
Author: ian.rodney@gmail.com
File Name: python/ray/util/sgd/tf/examples/cifar_tf_example.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a
Time: 2020-09-13
Author: ian.rodney@gmail.com
File Name: python/ray/util/sgd/tf/examples/tensorflow_train_example.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a
Time: 2020-09-13
Author: ian.rodney@gmail.com
File Name: python/ray/util/sgd/torch/examples/dcgan.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5bc2ba38fd6dc54bb54c5af5b06fd40f37c7315a
Time: 2020-09-13
Author: ian.rodney@gmail.com
File Name: python/ray/util/sgd/torch/examples/tune_example.py
Class Name:
Method Name: