code: def test_build_ensemble_subnetwork_has_scalar_logits(self):
      with context.graph_mode():
          logits = tf.ones(shape=(100,))
          ensemble_spec = self._build_easy_ensemble(
              [
                  subnetwork.Subnetwork(
                      last_layer=logits, logits=logits, complexity=0.0
                  )
              ]
          )
          self.assertEqual([1], ensemble_spec.bias.shape.as_list())
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import contextlib
  from absl.testing import parameterized
  from adanet import ensemble
  from adanet import subnetwork
  from adanet import tf_compat
  from adanet.core.summary import Summary
  import mock
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 5 for calling the ComplexityRegularizedEnsemblerTest obj's underlying member method code with example usage: obj.test_build_ensemble_subnetwork_has_scalar_logits() without return types