class_docstr: Specification of a cluster environment.
class_docstr_tok: ["Specification","of","a","cluster","environment","."]
docstr: The rank (index) of the node on which the current process runs.
docstr_tok: ["The","rank","(","index",")","of","the","node","on","which","the","current","process","runs","."]
code: def node_rank(self) -> int:
      """The rank (index) of the node on which the current process runs."""
  
file_path: pytorch-lightning/src/lightning/fabric/plugins/environments/cluster_environment.py
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 10 for calling the ClusterEnvironment obj's underlying member method code with example usage: obj.node_rank() without return types