Chinese-NER icon indicating copy to clipboard operation
Chinese-NER copied to clipboard

question about saving model as SavedModel

Open yuanhuang0809 opened this issue 5 years ago • 0 comments

Hi, I am trying to save the model as SavedModel. Could you plase help me with defining about inputs and outputs?

I think the model's inputs and outputs should be like this: inputs={"ChatInputs": model.char_inputs, "Dropout": model.dropout}, outputs={"project/Reshape": model.logits, "crf_loss/transitions":model.trans}

Is this right? Thank you!

yuanhuang0809 avatar Mar 03 '20 02:03 yuanhuang0809