class_docstr: Wrapper class for the basic BlueFog API.
class_docstr_tok: ["Wrapper","class","for","the","basic","BlueFog","API","."]
docstr: A function that returns the number of BlueFog processes.
  
  Returns:
      An integer scalar containing the number of BlueFog processes.
docstr_tok: ["A","function","that","returns","the","number","of","BlueFog","processes",".","Returns",":","An","integer","scalar","containing","the","number","of","BlueFog","processes","."]
code: def size(self) -> int:
      """A function that returns the number of BlueFog processes.
  
      Returns:
          An integer scalar containing the number of BlueFog processes.
      """
      size = self._MPI_LIB_CTYPES.bluefog_size()
      if size == -1:
          raise ValueError(
              "BlueFog has not been initialized; use bf.init()."
          )
      return size
  
imports: from typing import List, Callable, Optional
  import atexit
  import contextlib
  import ctypes
  import logging
  import networkx
  import bluefog.common.util
  import bluefog.common.topology_util
label_desc: Use image node_id 4 for calling the BlueFogBasics obj's underlying member method code with example usage: obj.size() and returns: size