code: def __init__(self):
      super(Policy, self).__init__()
      self.affine1 = nn.Linear(4, 128)
      self.dropout = nn.Dropout(p=0.6)
      self.affine2 = nn.Linear(128, 2)
  
      self.saved_log_probs = []
      self.rewards = []
  
file_path: ignite/examples/reinforcement_learning/reinforce.py
imports: import argparse
  from collections import deque
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  from torch.distributions import Categorical
  from ignite.engine import Engine, Events
label_desc: Use image node_id 1 to create a new Policy object from inherited base classes: nn with example: obj = Policy()