code: def to_bigdl_3d_padding(border_mode):
      if border_mode == "valid":
          return 0, 0, 0
      elif border_mode == "same":
          return -1, -1, -1
      else:
          invalidInputError(
              False, "Unsupported border mode: %s" % border_mode
          )
  
file_path: BigDL/python/dllib/src/bigdl/dllib/keras/ToBigDLHelper.py
imports: from math import ceil
  import bigdl.dllib.nn.initialization_method
  from bigdl.dllib.utils.log4Error import *
  from bigdl.dllib.optim.optimizer import L1L2Regularizer
label_desc: Use image node_id 3 for calling a global function with example usage: to_bigdl_3d_padding(border_mode) and returns: int,  int,  int, unknown,  unknown,  unknown