code: def set_optimizer_version(optimizerVersion, bigdl_type="float"):
      """
      Set DistriOptimizer version.
      param optimizerVersion: should be "OptimizerV1" or "OptimizerV2".
      """
      callZooFunc(bigdl_type, "setOptimizerVersion", optimizerVersion)
  
imports: from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.utils.utils import set_python_home
  from bigdl.dllib.utils.log4Error import *
  import warnings
  import multiprocessing
  import os
  import threading
  import sys
label_desc: Use image node_id 20 for calling a global function with example usage: set_optimizer_version(optimizerVersion, bigdl_type) without return types