code: def separate(value, size_list):
      """
      Separate value in order to several set according size_list
      Parameters
      ----------
      value: 2d-tensor, input data
      size_list: list, each set size
      Returns
      ----------
      list
          separated 2d-tensors of sizes given in size_list
      """
      separate_res = []
      cur = 0
      for size in size_list:
          separate_res.append(value[cur : cur + size, :])
          cur += size
      return separate_res
  
imports: import logging
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: separate(value, size_list) and returns: separate_res