code: def test_add_params_from_parameter_sharding_override(self) -> None:
      fused_params = {
          "learning_rate": 0.1,
          "cache_algorithm": CacheAlgorithm.LRU,
          "stochastic_rounding": False,
          "prefetch_pipeline": True,
      }
      fused_params = add_params_from_parameter_sharding(
          fused_params, self.parameter_sharding
      )
      expected_fused_params = {
          "learning_rate": 0.1,
          "cache_algorithm": CacheAlgorithm.LFU,
          "cache_reserved_memory": 1.0,
          "prefetch_pipeline": False,
          "enforce_hbm": False,
          "stochastic_rounding": True,
          "bounds_check_mode": BoundsCheckMode.WARNING,
      }
      self.assertEqual(fused_params, expected_fused_params)
  
imports: import itertools
  import math
  import os
  import random
  import unittest
  from typing import cast, List, Optional, Tuple
  import torch
  import torch.distributed
  from hypothesis import given, settings, strategies, Verbosity
  from torchrec.distributed.embedding_sharding import bucketize_kjt_before_all2all
  from torchrec.distributed.embeddingbag import EmbeddingBagCollectionSharder
  from torchrec.distributed.model_parallel import DistributedModelParallel
  from torchrec.distributed.test_utils.test_model import TestSparseNN
  from torchrec.distributed.types import BoundsCheckMode, CacheAlgorithm, CacheParams, DataType, ModuleSharder, ParameterSharding
  from torchrec.distributed.utils import add_params_from_parameter_sharding, convert_to_fbgemm_types, get_unsharded_module_names, merge_fused_params
  from torchrec.modules.embedding_configs import EmbeddingBagConfig
  from torchrec.sparse.jagged_tensor import KeyedJaggedTensor
  from torchrec.sparse.test_utils import keyed_jagged_tensor_equals
  from torchrec.test_utils import get_free_port
label_desc: Use image node_id 3 for calling the AddParamsFromParameterShardingTest obj's underlying member method code with example usage: obj.test_add_params_from_parameter_sharding_override() without return types