code: def templateCreateNetwork(size, ccore_flag):
      network = sync_network(size, 1, ccore=ccore_flag)
      assert len(network) == size
  
file_path: pyclustering/pyclustering/nnet/tests/sync_templates.py
imports: import matplotlib
  from pyclustering.nnet import conn_type, solve_type, initial_type
  from pyclustering.nnet.sync import sync_network, sync_visualizer
label_desc: Use image node_id 1 for calling the SyncTestTemplates obj's underlying member method code with example usage: obj.templateCreateNetwork(size, ccore_flag) without return types