code: def _chunk_sharding_specs_list_for_test(sharding_dims, seed=0):
      spec_list = []
      for i in range(len(sharding_dims)):
          random.Random(seed + i).shuffle(PLACEMENTS)
          spec_list.append(
              ChunkShardingSpec(
                  dim=sharding_dims[i],
                  placements=copy.deepcopy(PLACEMENTS),
              )
          )
      return spec_list
  
file_path: pytorch/torch/testing/_internal/distributed/_shard/sharded_tensor/_test_st_common.py
imports: import copy
  import random
  import torch
  from torch.distributed._shard import sharded_tensor
  from torch.distributed._shard.sharding_spec import ChunkShardingSpec
label_desc: Use image node_id 1 for calling a global function with example usage: _chunk_sharding_specs_list_for_test(sharding_dims, seed) and returns: spec_list