CFARnet: deep learning for target detection with constant false alarm rate