class_docstr: Testing helper functions from tflearn/helpers
code: def test_regularizer(self):
      # Bulk Tests
      with tf.Graph().as_default():
          x = tf.placeholder("float", [None, 4])
          W = tf.Variable(tf.random_normal([4, 4]))
          x = tf.nn.tanh(tf.matmul(x, W))
          tflearn.add_weights_regularizer(W, "L2", weight_decay=0.001)
  
file_path: tflearn/tests/test_helpers.py
imports: import tensorflow.compat.v1
  import tflearn
  import unittest
  import os
label_desc: Use image node_id 2 for calling the TestHelpers obj's underlying member method code with example usage: obj.test_regularizer() without return types