@classmethod
  def ValidateKey(cls, key_path):
    for prefix in cls.VALID_PREFIXES:
      if key_path.startswith(prefix):
        return

    if key_path.startswith(u'HKEY_CURRENT_USER\\'):
      raise errors.FormatError(
          u'HKEY_CURRENT_USER\\ is not supported instead use: '
          u'HKEY_USERS\\%%users.sid%%\\')

    raise errors.FormatError(
        u'Unupported Registry key path: {0}'.format(key_path))
Create a convolutional neural network for compressing the input images.
dataset/ETHPy150Open ForensicArtifacts/artifacts/artifacts/source_type.py/WindowsRegistryKeySourceType.ValidateKey--crossover with--dataset/ETHPy150Open cosmoharrigan/neuroevolution/neuroevolution/cnn.py/create_cnn