def _init_cycle_dict(self):
dict_arr = np.zeros(self.epochs, dtype=int)<EOL>length_arr = np.zeros(self.epochs, dtype=int)<EOL>start_arr = np.zeros(self.epochs, dtype=int)<EOL>c_len = self.cycle_len<EOL>idx = <NUM_LIT:0><EOL>for i in range(self.cycles):<EOL><INDENT>current_start = idx<EOL>for j in range(c_len):<EOL><INDENT>dict_arr[idx] = i<EOL>length_arr[idx] = c_len<EOL>start_arr[idx] = current_start<EOL>idx += <NUM_LIT:1><EOL><DEDENT>c_len *= self.cycle_mult<EOL><DEDENT>return dict_arr, length_arr, start_arr<EOL>
Populate a cycle dict