code: def reset_shard_rank(proposal: List[ShardingOption]) -> None:
      for sharding_option in proposal:
          for shard in sharding_option.shards:
              shard.rank = None
  
file_path: torchrec/torchrec/distributed/planner/utils.py
imports: import operator
  from functools import reduce
  from typing import Any, cast, Dict, Iterable, List, Optional, Type, Union
  import torch
  from torchrec.distributed.planner.types import Perf, ShardingOption, Storage
  from torchrec.distributed.types import ShardingType
label_desc: Use image node_id 8 for calling a global function with example usage: reset_shard_rank(proposal) without return types