code: def test_layer_name_for_network(self):
      input_layer = layers.Input(1)
      hidden_layer = layers.Sigmoid(5)
      output_layer = layers.Sigmoid(10)
  
      network = input_layer >> hidden_layer >> output_layer
      network.outputs
  
      self.assertEqual(hidden_layer.name, "sigmoid-1")
      self.assertIn("layer/sigmoid-1/weight", hidden_layer.weight.name)
      self.assertIn("layer/sigmoid-1/bias", hidden_layer.bias.name)
  
      self.assertEqual(output_layer.name, "sigmoid-2")
      self.assertIn("layer/sigmoid-2/weight", output_layer.weight.name)
      self.assertIn("layer/sigmoid-2/bias", output_layer.bias.name)
  
imports: import copy
  import numpy
  import tensorflow
  from neupy import layers, algorithms, init
  from neupy.utils import asfloat
  from neupy.exceptions import LayerConnectionError
  from base import BaseTestCase
label_desc: Use image node_id 3 for calling the LayerNameTestCase obj's underlying member method code with example usage: obj.test_layer_name_for_network() without return types