code: def param_analysis_options(output_dir):
      """Options for model parameter analysis"""
      options = model_analyzer.TRAINABLE_VARS_PARAMS_STAT_OPTIONS.copy()
      options["select"] = ["params", "bytes"]
      options["order_by"] = "params"
      options["account_type_regexes"] = ["Variable"]
      if output_dir:
          options["dump_to_file"] = os.path.join(
              output_dir, "params.txt"
          )
      return "scope", options
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import six
  from google.protobuf import text_format
  import tensorflow
  from tensorflow.contrib.tfprof import model_analyzer
  from tensorflow.contrib.tfprof.python.tools.tfprof import tfprof_logger
  from tensorflow import gfile
  from tensorflow.tools.tfprof import tfprof_log_pb2
  from tensorflow.python.framework import op_def_registry
  from tensorflow.python.framework.ops import RegisterShape
  from tensorflow.python.framework import common_shapes
  from seq2seq.decoders.attention import att_sum_bahdanau, att_sum_dot
label_desc: Use image node_id 4 for calling a global function with example usage: param_analysis_options(output_dir) and returns: str,  options