code: def chunk_sizes(self, dim, chunks):
      split_size = (dim + chunks - 1) // chunks
      sizes_list = [split_size] * chunks
      sizes_list[-1] = sizes_list[-1] - (sum(sizes_list) - dim)
      return sizes_list
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddle import ParamAttr
label_desc: Use image node_id 3 for calling the Block obj's underlying member method code with example usage: obj.chunk_sizes(dim, chunks) and returns: sizes_list