Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #After trainning your model
- K.set_learning_phase(0)
- with K.get_session() as sess:
- tf.saved_model.simple_save(sess,
- export_path, inputs = {'input_seq': model.input},
- outputs = {'output_word_probab': model.output})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement