code: def add_negative_samples(
      df: "SparkDataFrame",
      item_size: int,
      item_col: str,
      label_col: str,
      neg_num: int,
  ) -> "SparkDataFrame":
      return callZooFunc(
          "float",
          "addNegSamples",
          df,
          item_size,
          item_col,
          label_col,
          neg_num,
      )
  
imports: from bigdl.dllib.utils.file_utils import callZooFunc
  from pyspark.sql.types import IntegerType, ShortType, LongType, FloatType, DecimalType, DoubleType, BooleanType
  from pyspark.sql.functions import broadcast, udf
  from bigdl.dllib.utils.log4Error import *
  import warnings
  from bigdl.dllib.utils.log4Error import *
  from typing import TYPE_CHECKING, Any, List, Optional, Tuple, Union
label_desc: Use image node_id 11 for calling a global function with example usage: add_negative_samples(df, item_size, item_col, label_col, neg_num) and returns: callZooFunc