code: def test_layer_definitions(self):
      Conv = layers.Convolution.define(
          padding="SAME",
          weight=init.Constant(1),
          bias=None,
      )
      network = layers.join(
          layers.Input((28, 28, 1)),
          Conv((3, 3, 16)),
          Conv((3, 3, 32)),
      )
      network.create_variables()
  
      self.assertShapesEqual(network.output_shape, (None, 28, 28, 32))
  
      weight_1 = self.eval(network.layers[1].weight)
      self.assertEqual(weight_1.sum(), 1 * 3 * 3 * 16)
      self.assertIsNone(network.layers[1].bias)
  
      weight_2 = self.eval(network.layers[2].weight)
      self.assertEqual(weight_2.sum(), 16 * 3 * 3 * 32)
      self.assertIsNone(network.layers[2].bias)
  
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 LayersBasicsTestCase obj's underlying member method code with example usage: obj.test_layer_definitions() without return types