def __getitem__(self, index):
if self.train:<EOL><INDENT>data = self.data[index]<EOL>if self.transform is not None:<EOL><INDENT>data = self.transform(data)<EOL><DEDENT>return data<EOL><DEDENT>m = self.matches[index]<EOL>data1, data2 = self.data[m[<NUM_LIT:0>]], self.data[m[<NUM_LIT:1>]]<EOL>if self.transform is not None:<EOL><INDENT>data1 = self.transform(data1)<EOL>data2 = self.transform(data2)<EOL><DEDENT>return data1, data2, m[<NUM_LIT:2>]<EOL>
Args:
    index (int): Index

Returns:
    tuple: (data1, data2, matches)