lookup_tablev2 and lookup_table difference
Created by: lidanqing-intel
The Lac GRU model generated by this page use lookup_tablev2, and it has 3 dimension output. While using lookup_table (v1) will have 2 dimension output. We think 2 dimension is more reasonable because it will be used as input of fc
Also the code is changed by this PR https://github.com/PaddlePaddle/models/pull/3823/files, we doubt if it is intended to use lookup_tablev2?
word_embedding = fluid.layers.embedding
was changed to
word_embedding = fluid.embedding