class_docstr: LSF Utilities
class_docstr_tok: ["LSF","Utilities"]
docstr: Returns the list of LSF compute hosts.
docstr_tok: ["Returns","the","list","of","LSF","compute","hosts","."]
code: def get_compute_hosts():
      """Returns the list of LSF compute hosts."""
      return LSFUtils.get_allocation_info()["compute_nodes"]
  
file_path: horovod/horovod/runner/util/lsf.py
imports: import io
  import os
  import yaml
  from horovod.common.util import _cache
  from horovod.runner.common.util import safe_shell_exec
  from horovod.runner.util.remote import get_remote_command
label_desc: Use image node_id 3 for calling the LSFUtils obj's underlying member method code with example usage: obj.get_compute_hosts() and returns: LSFUtils