code: def _get_dense_tensor_size(
      module: nn.Module,
      shardable_modules: Set[nn.Module],
      multiplier: float = 6.0,
  ) -> int:
      dense_tensor_size = _get_module_size(module, multiplier) - sum(
          [
              _get_module_size(shardable_module, multiplier)
              for shardable_module in shardable_modules
          ]
      )
      return dense_tensor_size
  
imports: import copy
  import logging
  import math
  from typing import Dict, List, Optional, Set, Tuple
  from torch import nn
  from torchrec.distributed.planner.constants import BIGINT_DTYPE, POOLING_FACTOR
  from torchrec.distributed.planner.types import ParameterConstraints, PlannerError, PlannerErrorType, Storage, StorageReservation, Topology
  from torchrec.distributed.planner.utils import sharder_name, storage_repr_in_gb
  from torchrec.distributed.types import get_tensor_size_bytes, ModuleSharder
label_desc: Use image node_id 2 for calling a global function with example usage: _get_dense_tensor_size(module, shardable_modules, multiplier) and returns: dense_tensor_size