code: def __init__(self, checkpoint_wrapper: CheckpointWrapper) -> None:
      super().__init__()
      self.ffn = checkpoint_wrapper.wrap_module(SubmoduleWithKwargs())
  
imports: import torch
  import torch.nn
  import pytest
  from allennlp.common.params import Params
  from allennlp.common.testing import multi_device
  from allennlp.nn.checkpoint.checkpoint_wrapper import CheckpointWrapper, TorchCheckpointWrapper
label_desc: Use image node_id 1 to create a new ModuleWithKwargs object from inherited base classes: nn with example: obj = ModuleWithKwargs(checkpoint_wrapper)