code: def test_subnetworks(self, subnetworks, want):
      arch = _Architecture("foo", "dummy_ensembler_name")
      for subnetwork in subnetworks:
          arch.add_subnetwork(*subnetwork)
      self.assertEqual(want, arch.subnetworks)
  
file_path: adanet/adanet/core/architecture_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from adanet.core.architecture import _Architecture
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the ArchitectureTest obj's underlying member method code with example usage: obj.test_subnetworks(subnetworks, want) without return types