ternary-quantization