code: def generate_transpose(node_name, in_name, out_name, axes, base_name, func_counter):
      
      trans = nnabla_pb2.Function()
      trans.type = "Transpose"
      set_function_name(trans, node_name, base_name, func_counter)
      trans.input.extend([in_name])
      trans.output.extend([out_name])
      tp = trans.transpose_param
      tp.axes.extend(axes)
      return trans
docs: Generate a Transpose operator to transpose the specified buffer.