code: def syncpr_train(pointer_network, patterns):
      c_patterns = package_builder(patterns, c_int).create()
  
      ccore = ccore_library.get()
      ccore.syncpr_train(pointer_network, c_patterns)
  
file_path: pyclustering/pyclustering/core/syncpr_wrapper.py
imports: from pyclustering.core.wrapper import *
  from pyclustering.core.pyclustering_package import pyclustering_package, package_extractor, package_builder
label_desc: Use image node_id 5 for calling a global function with example usage: syncpr_train(pointer_network, patterns) without return types