def target_class(self):
try:<EOL><INDENT>target_class = self.__criterion.target_class()<EOL><DEDENT>except AttributeError:<EOL><INDENT>target_class = None<EOL><DEDENT>return target_class<EOL>
Interface to criterion.target_class for attacks.