class_docstr: BatchNorm1d with Ghost Batch Normalization.
class_docstr_tok: ["BatchNorm1d","with","Ghost","Batch","Normalization","."]
code: def __init__(self, num_features, virtual_batch_size=None):
      super().__init__()
      self.num_features = num_features
      self.virtual_batch_size = virtual_batch_size
      if self.virtual_batch_size is None:
          self.bn = nn.BatchNorm1d(self.num_features)
      else:
          self.bn = GBN(self.num_features, self.virtual_batch_size)
  
file_path: pytorch_tabular/src/pytorch_tabular/models/common/layers/batch_norm.py
imports: import numpy
  import torch
  from torch import nn
label_desc: Use image node_id 1 to create a new BatchNorm1d object from inherited base classes: nn with example: obj = BatchNorm1d(num_features, virtual_batch_size)