class_docstr: This class contains all the functions needed for supporting
  an accelerator family in Ray.
docstr: Get the total number of accelerators of this family on the current node.
  
  Returns:
      The detected total number of accelerators of this family.
      Return 0 if the current node doesn't contain accelerators of this family.
docstr_tok: ["Get","the","total","number","of","accelerators","of","this","family","on","the","current","node",".","Returns",":","The","detected","total","number","of","accelerators","of","this","family",".","Return","0","if","the","current","node","does","n't","contain","accelerators","of","this","family","."]
code: def get_current_node_num_accelerators() -> int:
      """Get the total number of accelerators of this family on the current node.
  
      Returns:
          The detected total number of accelerators of this family.
          Return 0 if the current node doesn't contain accelerators of this family.
      """
  
file_path: ray/python/ray/_private/accelerators/accelerator.py
imports: from abc import ABC, abstractmethod
  from typing import Dict, Optional, List, Tuple
label_desc: Use image node_id 3 for calling the AcceleratorManager obj's underlying member method code with example usage: obj.get_current_node_num_accelerators() without return types