class_docstr: Base class for pytorch module with data-aware initializer on first batch.
class_docstr_tok: ["Base","class","for","pytorch","module","with","data-aware","initializer","on","first","batch","."]
code: def __call__(self, *args, **kwargs):
      if self._is_initialized_bool is None:
          self._is_initialized_bool = bool(
              self._is_initialized_tensor.item()
          )
      if not self._is_initialized_bool:
          self.initialize(*args, **kwargs)
          self._is_initialized_tensor.data[...] = 1
          self._is_initialized_bool = True
      return super().__call__(*args, **kwargs)
  
file_path: pytorch_tabular/src/pytorch_tabular/models/common/layers/misc.py
imports: from typing import Callable, Union
  import torch
  from torch import nn
label_desc: Use image node_id 3 for calling the ModuleWithInit obj's underlying member method code with example usage: obj.__call__() and returns: super