This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
請問一下有辦法能讓預測時真的只要輸入一個句子就好嗎? 就是這段程式碼不用batch_size answer_logits = sess.run(logits, {input_data: [text]batch_size, target_sequence_length: [len(input_word)]batch_size, source_sequence_length: [len(input_word)]batch_size})[0]