title: tf.layers.dense kernel initializer and regularizer
body: <p>The tf.layers.dense function defined as:</p>
  
  <pre><code>tf.layers.dense(
      inputs,
      units,
      activation=None,
      use_bias=True,
      kernel_initializer=None,
      bias_initializer=tf.zeros_initializer(),
      kernel_regularizer=None,
      bias_regularizer=None,
      activity_regularizer=None,
      trainable=True,
      name=None,
      reuse=None
  )
  </code></pre>
  
  <p>has two optional arguments <code>kernel_initializer</code> and <code>kernel_regularizer</code>. I have two different regularization and initialization techniques of my own that I wish to experiment with. I am not keen on implementing the entire neural network from scratch. Could someone provide an example for supplying custom functions to these two arguments? </p>