docstr: Test that fused_params from sharders get overridden.
code: def test_create_sharding_infos_by_sharding_override(self) -> None:
      """
      Test that fused_params from sharders get overridden.
      """
  
      # with sharder fused params that will get overridden
      sharder_fused_params = {"enforce_hbm": False}
      overriden_sharding_infos = create_sharding_infos_by_sharding(
          self.model,
          self.expected_plan.get_plan_for_module(""),
          prefix="embedding_bags.",
          fused_params=sharder_fused_params,
      )
      for (
          sharding_type,
          overriden_sharding_info,
      ) in overriden_sharding_infos.items():
          expected_sharding_info = self.expected_sharding_infos[
              sharding_type
          ]
          for a, b in zip(
              expected_sharding_info, overriden_sharding_info
          ):
              self.assertEqual(a.fused_params, b.fused_params)
  
      # with sharder fused params that won't get overridden
      sharder_fused_params = {"ABC": True}
      not_overriden_sharding_infos = create_sharding_infos_by_sharding(
          self.model,
          self.expected_plan.get_plan_for_module(""),
          prefix="embedding_bags.",
          fused_params=sharder_fused_params,
      )
      for (
          sharding_type,
          not_overriden_sharding_info,
      ) in not_overriden_sharding_infos.items():
          expected_sharding_info = self.expected_sharding_infos[
              sharding_type
          ]
          for a, b in zip(
              expected_sharding_info, not_overriden_sharding_info
          ):
              self.assertNotEqual(a.fused_params, b.fused_params)
  
file_path: torchrec/torchrec/distributed/planner/tests/test_embeddingbag_utils.py
imports: import copy
  import unittest
  from torchrec.distributed.embeddingbag import create_sharding_infos_by_sharding, EmbeddingBagCollectionSharder
  from torchrec.distributed.planner import EmbeddingShardingPlanner, ParameterConstraints, Topology
  from torchrec.distributed.types import BoundsCheckMode, CacheAlgorithm, CacheParams, DataType
  from torchrec.modules.embedding_configs import EmbeddingBagConfig
  from torchrec.modules.embedding_modules import EmbeddingBagCollection
label_desc: Use image node_id 2 for calling the CreateShardingInfoTest obj's underlying member method code with example usage: obj.test_create_sharding_infos_by_sharding_override() without return types