def METHOD_NAME(self):
    arr = {}
    lastlen = 1
    for pk, pv in self.hyperparams.items():
        for p in arr.keys():
            arr[p] = arr[p] * len(pv)
        expanded = []
        for i in range(len(pv)):
            expanded += [pv[i]] * lastlen
        arr[pk] = expanded
        lastlen = lastlen * len(pv)
    return arr