code: def _build_ctrl_msg(
      stop,
      is_valid_data_type,
      is_paired_dataset,
      is_new_epoch,
      current_position,
  ):
      ctrl_msg = numpy.ones((5,)) * [
          int(stop),
          int(is_valid_data_type),
          int(is_paired_dataset),
          int(is_new_epoch),
          int(current_position),
      ]
      return ctrl_msg.astype(numpy.float32)
  
imports: import chainer
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _build_ctrl_msg(stop, is_valid_data_type, is_paired_dataset, is_new_epoch, current_position) and returns: ctrl_msg