class_docstr: MF regularized TCN + TCN. This version is not for automated searching yet.
class_docstr_tok: ["MF","regularized","TCN","+","TCN",".","This","version","is","not","for","automated","searching","yet","."]
code: def get_default_num_workers():
      from bigdl.orca.ray import OrcaRayContext
  
      try:
          ray_ctx = OrcaRayContext.get(initialize=False)
          num_workers = ray_ctx.num_ray_nodes
      except:
          num_workers = 1
      return num_workers
  
imports: from abc import ABCMeta, abstractmethod
  from bigdl.chronos.model.tcmf import DeepGLO
  from bigdl.orca.automl.metrics import Evaluator
  from bigdl.orca.automl.model.abstract import BaseModel
  from bigdl.orca.data import SparkXShards, XShards
  import pickle
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling the TCMF obj's underlying member method code with example usage: obj.get_default_num_workers() and returns: num_workers