code: def save_param_in_txt(x, filepath):
      with open(filepath, "w") as output:
          print(x.shape, file=output)
          np.array(x).tofile(output, sep="\n")
  
file_path: nnabla/python/src/nnabla/utils/cli/encode_decode_param.py
imports: from __future__ import print_function
  import os
  import urllib.parse
  import nnabla
  import numpy
  from nnabla import logger
  from nnabla.parameter import get_parameters, set_parameter, save_parameters, load_parameters
label_desc: Use image node_id 1 for calling a global function with example usage: save_param_in_txt(x, filepath) without return types