code: def schedule_func(epoch, lr):
      if epoch < 1:
          return lr
      else:
          return lr * 0.5
  
file_path: BigDL/python/orca/tutorial/NCF/utils.py
imports: import os
  import argparse
  import json
  import tempfile
  from bigdl.dllib.utils.file_utils import is_local_path
  from bigdl.orca.data.file import put_local_file_to_remote, get_remote_file_to_local
  from bigdl.orca import init_orca_context, stop_orca_context, OrcaContext
label_desc: Use image node_id 3 for calling a global function with example usage: schedule_func(epoch, lr) and returns: lr, unknown