Rate this Page
★ ★ ★ ★ ★

torch.utils.collect_env.run_and_parse_first_match#

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

Run command using run_lambda, returns the first regex match if it exists.