Rate this Page

torch.utils.collect_env.run_and_read_all#

torch.utils.collect_env.run_and_read_all(run_lambda, command)[source]#

Run command using run_lambda; reads and returns entire output if rc is 0.