class_docstr: Unit tests for the NeuralNetwork test class. 
docstr: Tests instantiation. 
docstr_tok: ["Tests","instantiation","."]
code: def test_mlp_instantiation(self):
      """Tests instantiation."""
      path_length_types = [
          "all-shortest",
          "all-longest",
          "all-rw",
          "sigmoid-shortest",
          "sigmoid-longest",
          "sigmoid-rw",
          "rectifier-shortest",
          "rectifier-longest",
          "rectifier-rw",
      ]
      self.report("Testing instantiation of mlps - regression.")
      self._print_path_lengths(self.mlps_reg, "bkwd", path_length_types)
      self._print_path_lengths(self.mlps_reg, "fwd", path_length_types)
      self.report("Testing instantiation of mlps - classification.")
      self._print_path_lengths(
          self.mlps_class, "bkwd", path_length_types
      )
      self._print_path_lengths(
          self.mlps_class, "fwd", path_length_types
      )
  
file_path: dragonfly/dragonfly/nn/unittest_neural_network.py
imports: import numpy
  from .None import neural_network
  from .nn_examples import generate_cnn_architectures, generate_mlp_architectures
  from ..utils.base_test_class import BaseTestClass, execute_tests
  from ..utils.graph_utils import apsp_floyd_warshall_costs
label_desc: Use image node_id 4 for calling the NeuralNetworkTestCase obj's underlying member method code with example usage: obj.test_mlp_instantiation() without return types