def METHOD_NAME(landmark_path, c, num_frames, num_landmarks, num_dim, num_faces):
    class_samples = os.listdir(landmark_path)
    num_samples = len(class_samples)
    class_numpy = np.zeros((num_samples, num_landmarks, num_dim, num_frames, num_faces))
    s = 0
    for _, dirs, _ in os.walk(landmark_path):
        root, _, files = os.walk(dirs)
        T = len(files)
        if T > 0:  # if the sample video is a nonzero sample
            sample_numpy = np.zeros((num_landmarks, num_dim, T, num_faces))
            for j in range(T):
                if os.path.isfile(landmark_path + str(j) + '.npy'):
                    sample_numpy[:, :, j, 0] = np.load(landmark_path + str(j) + '.npy')
            dif = num_frames - T
            num_tiles = int(dif / T)
            while dif > 0:
                if num_tiles == 0:
                    for k in range(dif):
                        sample_numpy[:, :, T + k, :] = sample_numpy[:, :, -1, :]
                elif num_tiles > 0:
                    sample_numpy = tile(sample_numpy[:, :, :T, 0], 2, num_tiles)
                T = sample_numpy.shape[2]
                dif = num_frames - T
                num_tiles = int(dif / T)
            class_numpy[s, :, :, :, :] = sample_numpy
            s = s + 1  # nonzero sample
    np.save(landmark_path + c + '.npy', class_numpy)
    return class_numpy