docstr: Check constructor inputs and set attributes.
code: def _check_specifications(
      self,
      layer_widths,
      layer_activations,
      weight_init,
      bias_init,
      standard_first,
  ):
      """
      Check constructor inputs and set attributes.
      """
      assert len(layer_widths) - 1 == len(layer_activations)
  
      self.layer_widths = layer_widths
      self.layer_activations = layer_activations
  
      if weight_init is None:
          weight_init = create_initialiser(
              lambda A, B, C, D: np.sqrt(2) * D, lambda A, B, C: 0
          )
      if bias_init is None:
          bias_init = create_initialiser(
              lambda A, B, C, D: np.sqrt(2) * D, lambda A, B, C: 0
          )
      self.weight_init = weight_init
      self.bias_init = bias_init
      self.standard_first = standard_first
  
file_path: elu-gelu-kernels/code/networks/np_mlp.py
imports: import numpy
  from .np_initialisers import create_initialiser
label_desc: Use image node_id 2 for calling the Mlp obj's underlying member method code with example usage: obj._check_specifications(layer_widths, layer_activations, weight_init, bias_init, standard_first) without return types