code: def __init__(
      self, batch, perturbation, true_future_target, attack_idx
  ):
      self.batch = batch
      self.perturbation = perturbation
      self.true_future_target = true_future_target
      self.attack_idx = attack_idx
  
imports: import json
  import pickle
  import random
  import torch
  import numpy
  import pandas
  from tqdm.auto import tqdm
  from typing import Iterator
  from gluonts.dataset.common import DataEntry, Dataset, ListDataset
label_desc: Use image node_id 1 to create a new AttackResults object  with example: obj = AttackResults(batch, perturbation, true_future_target, attack_idx)