vafa / data /attacks /utils.py
introvoyz041's picture
Migrated from GitHub
a54591c verified
Raw
History Blame Contribute Delete
451 Bytes
def get_target_labels(orig_labels=None, random=False, orig_targ_labels_dict={}):
raise NotImplementedError(f"'get_target_labels()' function is yet to be implemented. ")
if random and not orig_targ_labels_dict: raise ValueError("Arguments 'random' and 'orig_targ_labels_dict' are mutually exclusive. Use either of them.")
if random:
pass
if not orig_targ_labels_dict: # if dict is not empty
pass