Ternary Quantization: A Survey