code: def linear_layer(
      size, activation=None, use_time_distributed=False, use_bias=True
  ):
      """Returns simple Keras linear layer.
  
      Args:
        size: Output size
        activation: Activation function to apply if required
        use_time_distributed: Whether to apply layer across time
        use_bias: Whether bias should be included in layer
      """
      linear = tf.keras.layers.Dense(
          size, activation=activation, use_bias=use_bias
      )
      if use_time_distributed:
          linear = tf.keras.layers.TimeDistributed(linear)
      return linear
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gc
  import json
  import os
  import shutil
  import data_formatters.base
  import libs.utils
  import numpy
  import pandas
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: linear_layer(size, activation, use_time_distributed, use_bias) and returns: linear