class_docstr: Unit test for some neural network examples. We are just testing for generation. 
class_docstr_tok: ["Unit","test","for","some","neural","network","examples",".","We","are","just","testing","for","generation","."]
docstr: Testing generation of many neural networks. 
docstr_tok: ["Testing","generation","of","many","neural","networks","."]
code: def test_generate_many_nns(self):
      """Testing generation of many neural networks."""
      self.report("Testing generation of many NNs.")
      num_nns = 40
      cnns = nn_examples.generate_many_neural_networks("cnn", num_nns)
      visualise_list_of_nns(cnns, os.path.join(self.save_dir, "cnn"))
      reg_mlps = nn_examples.generate_many_neural_networks(
          "mlp-reg", num_nns
      )
      visualise_list_of_nns(
          reg_mlps, os.path.join(self.save_dir, "reg_mlps")
      )
      class_mlps = nn_examples.generate_many_neural_networks(
          "mlp-class", num_nns
      )
      visualise_list_of_nns(
          class_mlps, os.path.join(self.save_dir, "class_mlps")
      )
  
file_path: dragonfly/dragonfly/nn/unittest_nn_examples.py
imports: import os
  import unittest
  from .None import nn_examples
  from .nn_visualise import visualise_list_of_nns
  from ..utils.base_test_class import BaseTestClass, execute_tests
label_desc: Use image node_id 4 for calling the NNExamplesTestCase obj's underlying member method code with example usage: obj.test_generate_many_nns() without return types