code: def iplate_cuda_model(subsample_size):
      loc = torch.zeros(20).cuda()
      scale = torch.ones(20).cuda()
      for i in pyro.plate(
          "data", 20, subsample_size, device=loc.device
      ):
          pyro.sample("x_{}".format(i), dist.Normal(loc[i], scale[i]))
  
file_path: pyro/tests/poutine/test_mapdata.py
imports: import logging
  import pytest
  import torch
  import pyro
  import pyro.distributions
  import pyro.poutine
  from tests.common import requires_cuda
label_desc: Use image node_id 11 for calling a global function with example usage: iplate_cuda_model(subsample_size) without return types