docstr: Whether to normalize expert scores. If true, sum(expert_scores) = 1.
docstr_tok: ["Whether","to","normalize","expert","scores",".","If","true",",","sum","(","expert_scores",")","=","1","."]
code: def normalize_expert_scores(self) -> bool:
      """
      Whether to normalize expert scores. If true, sum(expert_scores) = 1.
      """
      raise NotImplementedError(
          "Attempted to access an unimplemented normalization flag"
      )
  
imports: from abc import abstractmethod
  from typing import Optional
  import torch
  from deepspeed.accelerator import get_accelerator
  from ..config_v2 import RaggedInferenceEngineConfig
  from ..inference_utils import ActivationType, ceil_div, is_gated
  from ..model_implementations import *
  from ..model_implementations.sharding import *
  from ..modules.configs import DSEmbeddingsConfig, DSLinearConfig, DSMoEConfig, DSNormConfig, DSSelfAttentionConfig, DSUnembedConfig, NormTypeEnum, PositionalEmbeddingType
  from ..modules import heuristics
  from ..ragged import DSSequenceDescriptor, KVCacheConfig, RaggedBatchWrapper
  from .inference_model_base import DSInferenceModelBase, DSModelImplementationConfig, MPType
  from ..inference_parameter import InferenceParameter
label_desc: Use image node_id 3 for calling the DSMoETransformerModelBase obj's underlying member method code with example usage: obj.normalize_expert_scores() without return types