class_docstr: A fake ensemble of one subnetwork.
class_docstr_tok: ["A","fake","ensemble","of","one","subnetwork","."]
code: def __init__(self, num_layers):
      shared_tensors = {"num_layers": num_layers}
      self._weighted_subnetworks = [
          adanet.WeightedSubnetwork(
              name=None,
              iteration_number=None,
              weight=None,
              logits=None,
              subnetwork=adanet.Subnetwork(
                  last_layer=[1],
                  logits=[1],
                  complexity=1,
                  shared=shared_tensors,
              ),
          )
      ]
  
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 1 to create a new _FakeEnsemble object from inherited base classes: object with example: obj = _FakeEnsemble(num_layers)