class_docstr: Wrapper class for the basic Horovod API.
docstr: A function that returns the cross Horovod rank of the calling process, across the
  nodes in the job. The cross rank of a process corresponds to the rank of the node its
  is running on. For example, if there are 7 nodes in a job, the cross ranks will be
  zero through six, inclusive.
  
  Returns:
    An integer scalar with the cross Horovod rank of the calling process.
docstr_tok: ["A","function","that","returns","the","cross","Horovod","rank","of","the","calling","process",",","across","the","nodes","in","the","job",".","The","cross","rank","of","a","process","corresponds","to","the","rank","of","the","node","its","is","running","on",".","For","example",",","if","there","are","7","nodes","in","a","job",",","the","cross","ranks","will","be","zero","through","six",",","inclusive",".","Returns",":","An","integer","scalar","with","the","cross","Horovod","rank","of","the","calling","process","."]
code: def cross_rank(self):
      """A function that returns the cross Horovod rank of the calling process, across the
      nodes in the job. The cross rank of a process corresponds to the rank of the node its
      is running on. For example, if there are 7 nodes in a job, the cross ranks will be
      zero through six, inclusive.
  
      Returns:
        An integer scalar with the cross Horovod rank of the calling process.
      """
      cross_rank = self.MPI_LIB_CTYPES.horovod_cross_rank()
      if cross_rank == -1:
          raise ValueError(
              "Horovod has not been initialized; use hvd.init()."
          )
      return cross_rank
  
imports: import atexit
  import ctypes
  import os
  from typing import *
  from horovod.common.process_sets import ProcessSet, global_process_set, _init_process_sets
  from horovod.common import util
label_desc: Use image node_id 12 for calling the HorovodBasics obj's underlying member method code with example usage: obj.cross_rank() and returns: cross_rank