1. AttributeError: module 'tensorflow' has no attribute 'batch_matmul'
解决办法:batch_matmul>>>matmul
举例:
#out = tf.batch_matmul(outputs, W_repeated) + b
out = tf.matmul(outputs, W_repeated) + b
2. AttributeError: module 'tensorflow' has no attribute 'pack'
解决办法:pack>>>stack