docstr: Initialization of inherited lightning data module
docstr_tok: ["Initialization","of","inherited","lightning","data","module"]
code: def __init__(self, **kwargs):
      """
      Initialization of inherited lightning data module
      """
      super().__init__()
      self.df_train = None
      self.df_val = None
      self.df_test = None
      self.train_data_loader = None
      self.val_data_loader = None
      self.test_data_loader = None
      self.args = kwargs
  
      # transforms for images
      self.transform = transforms.Compose(
          [
              transforms.ToTensor(),
              transforms.Normalize((0.1307,), (0.3081,)),
          ]
      )
  
imports: import logging
  import os
  from argparse import ArgumentParser
  import mlflow
  import mlflow.pytorch
  import pytorch_lightning
  import torch
  from pytorch_lightning.callbacks import LearningRateMonitor
  from pytorch_lightning.callbacks import ModelCheckpoint
  from pytorch_lightning.callbacks.early_stopping import EarlyStopping
  from torch.nn import functional
  from torch.utils.data import DataLoader
  from torch.utils.data import random_split
  from torchvision import datasets
  from torchvision import transforms
label_desc: Use image node_id 1 to create a new MNISTDataModule object from inherited base classes: pl with example: obj = MNISTDataModule()