class_docstr: Uses `horovod.spark.run` to execute the distributed training `fn`.
class_docstr_tok: ["Uses","`","horovod.spark.run","`","to","execute","the","distributed","training","`","fn","`","."]
code: def num_processes(self):
      return self._num_proc
  
file_path: horovod/horovod/spark/common/backend.py
imports: import horovod.spark.common._namedtuple_fix
  import os
  import pyspark
  import horovod.spark
label_desc: Use image node_id 3 for calling the SparkBackend obj's underlying member method code with example usage: obj.num_processes() and returns: self