code: def edit_distance(x, y):
      
  
      ret = layers_distance(x.layers, y.layers)
      ret += Constant.KERNEL_LAMBDA * skip_connections_distance(
          x.skip_connections, y.skip_connections
      )
      return ret
docs: The distance between two neural networks.
      Args:
          x: An instance of NetworkDescriptor.
          y: An instance of NetworkDescriptor
      Returns:
          The edit-distance between x and y.