ImageFolder.extend

ImageFolder.extend(values)

S.extend(iterable) – extend sequence by appending elements from the iterable