code: def test_constructor_errors(
      self, feature_columns, layer_size=3, initial_num_layers=0
  ):
      with self.assertRaises(ValueError):
          simple_dnn.Generator(
              feature_columns=feature_columns,
              optimizer=tf.compat.v1.train.GradientDescentOptimizer(
                  0.1
              ),
              layer_size=layer_size,
              initial_num_layers=initial_num_layers,
          )
  
file_path: adanet/adanet/examples/simple_dnn_test.py
imports: from absl.testing import parameterized
  import adanet
  from adanet.examples import simple_dnn
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the GeneratorTest obj's underlying member method code with example usage: obj.test_constructor_errors(feature_columns, layer_size, initial_num_layers) without return types