class_docstr: Basic DQN Model.
  
  >>> DQNLightning(env="CartPole-v1")  # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
  DQNLightning(
    (net): DQN(
      (net): Sequential(...)
    )
    (target_net): DQN(
      (net): Sequential(...)
    )
  )
docstr: Initialize Adam optimizer.
docstr_tok: ["Initialize","Adam","optimizer","."]
code: def configure_optimizers(self) -> List[Optimizer]:
      """Initialize Adam optimizer."""
      optimizer = optim.Adam(self.net.parameters(), lr=self.lr)
      return [optimizer]
  
imports: import argparse
  from collections import OrderedDict, deque, namedtuple
  from typing import Iterator, List, Tuple
  import gym
  import numpy
  import torch
  import torch.nn
  import torch.optim
  from lightning.pytorch import LightningModule, Trainer, cli_lightning_logo, seed_everything
  from torch.optim.optimizer import Optimizer
  from torch.utils.data import DataLoader
  from torch.utils.data.dataset import IterableDataset
label_desc: Use image node_id 6 for calling the DQNLightning obj's underlying member method code with example usage: obj.configure_optimizers() and returns: list