raise Exception("SaliencyMapMethod currently only handles one sample""at a time. Make sure that len(X) = 1.")if target is None:
raise Exception("For now, user must provide target classes.")// // No targets provided, so we will randomly choose targets from the incorrect classes// if Y is None:// // No true labels provided: use model predictions as ground truth// if self.backend == "tf":