code: def test_verify_module_duplicate_parameters_on_same_device():
      class Surrogate(nn.Module):
          def __init__(self, module):
              super().__init__()
              self.module = module
  
      conv = nn.Conv2d(3, 3, 1)
      model = nn.Sequential(Surrogate(conv), Surrogate(conv))
  
      Pipe(model, [1, 1], devices=["cpu", "cpu"])
  
imports: from collections import OrderedDict
  from copy import deepcopy
  import time
  import pytest
  import torch
  from torch import nn
  from fairscale.nn.pipe import Pipe
label_desc: Use image node_id 34 for calling a global function with example usage: test_verify_module_duplicate_parameters_on_same_device() without return types