Fork自 PaddlePaddle / Paddle
* add input_spec & output_spec for translated_layer * update error message