CNN的Embedding层报错:
报错:AttributeError: 'Embedding' object has no attribute 'get_shape'
查了下是这个问题:
https://stackoverflow.com/questions/44285907/attributeerror-embedding-object-has-no-attribute-get-shape-with-tensorflow
即,在Embedding函数后面添加:input、output 即可。