vector quantization (VQ) is a key technique in high-resolution and
high-fidelity image synthesis, which aims to learn a codebook to encode an
image with a sequence of discrete codes and then generate an image in an
auto-regression manner. Although existing methods have shown superior
p