<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lti(self):
 """ Dictionary extended_loss_type -> extended_loss_type index """

        return {lt: i for i, (lt, dt) in enumerate(self.loss_dt_list())}