code: def get_negative_samples(indexed):
      return callZooFunc("float", "getNegativeSamples", indexed)
  
file_path: analytics-zoo/pyzoo/zoo/models/recommendation/utils.py
imports: import numpy
  from bigdl.util.common import JTensor, Sample
  from zoo.common.utils import callZooFunc
  from zoo.models.recommendation import UserItemFeature
label_desc: Use image node_id 4 for calling a global function with example usage: get_negative_samples(indexed) and returns: callZooFunc