src/transformers/models/data2vec/convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py/access_by_string
def access_by_string(module, path):
    names = path.split(".")
    return reduce(getattr, names, module)