where \(\mathcal {J}\)  is loss function, \(Q(\cdot )\)  is applied in the forward propagation while the straight-through estimator (STE) [1]} is used to retain the derivation of gradient in backward propagation. \(\otimes \)  denotes the matrix multiplication with efficient bit-wise operations.
