in mxnet_managed_spot_training_checkpointing/source_dir/mnist.py [0:0]
def find_file(root_path, file_name): for root, dirs, files in os.walk(root_path): if file_name in files: return os.path.join(root, file_name)