sima_qat.misc

Functions

find_latest_file_string(→ str)

Recursively find the most recent 'tag_str' file in the specified path and

Module Contents

sima_qat.misc.find_latest_file_string(root_path: str, tag_str: str = '.onnx') str[source]

Recursively find the most recent ‘tag_str’ file in the specified path and parse it. This function is used to find the most recent output files of a subcommand in order to post-process the outputs.