code: def _default_output_layer_hparams():
      return {
          "num_layers": 0,
          "layer_size": 128,
          "activation": "identity",
          "final_layer_activation": None,
          "other_dense_kwargs": None,
          "dropout_layer_ids": [],
          "dropout_rate": 0.5,
          "variational_dropout": False,
          "@no_typecheck": [
              "activation",
              "final_layer_activation",
              "layer_size",
              "dropout_layer_ids",
          ],
      }
  
imports: import functools
  import numpy
  import tensorflow
  from tensorflow.contrib.framework import nest
  from texar.tf.modules.encoders.encoder_base import EncoderBase
  from texar.tf.modules.networks.conv_networks import _to_list
  from texar.tf.core import layers
  from texar.tf.utils.mode import is_train_mode
  from texar.tf.utils.shapes import mask_sequences
  from texar.tf.hyperparams import HParams
label_desc: Use image node_id 1 for calling a global function with example usage: _default_output_layer_hparams() and returns: dict