class_docstr: Builds a DNN subnetwork for AdaNet.
docstr: See `adanet.subnetwork.Builder`.
docstr_tok: ["See","`","adanet.subnetwork.Builder","`","."]
code: def name(self):
      """See `adanet.subnetwork.Builder`."""
  
      if self._num_layers == 0:
          # A DNN with no hidden layers is a linear model.
          return "linear"
      return "{}_layer_dnn".format(self._num_layers)
  
file_path: adanet/adanet/examples/simple_dnn.py
imports: import functools
  import adanet
  import tensorflow.compat.v2
label_desc: Use image node_id 5 for calling the _SimpleDNNBuilder obj's underlying member method code with example usage: obj.name() and returns: str, str