code: def num_attention_heads(self) -> int:
      return self._config.n_head
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/src/transformers/models/bloom/configuration_bloom.py
imports: from collections import OrderedDict
  from typing import TYPE_CHECKING, Any, List, Mapping, Optional
  from packaging import version
  from transformers import is_torch_available
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfigWithPast, PatchingSpec
  from ...utils import logging
label_desc: Use image node_id 4 for calling the BloomOnnxConfig obj's underlying member method code with example usage: obj.num_attention_heads() and returns: self