Deep‐learning‐based seizure detection and prediction from electroencephalography signals