Skip to content

Conversation

@luotao1
Copy link
Contributor

@luotao1 luotao1 commented Apr 13, 2017

  1. 增加paddle.infer接口中field的取值范围,在原来的"value", "id"上,另增加一个“prob”,用于beam_search和max_id的概率预测,即取出MaxIdLayer中的output_.in。
  2. 对应修改inference.py中的注释。

另外,“prob”和“value”之后可以都统一为“value”,需要修改RecurrentGradientMachine和AgentLayer的相关代码,因此会在以后的PR中完成。

@luotao1 luotao1 requested a review from reyoung April 13, 2017 06:32
@luotao1 luotao1 merged commit b25c512 into PaddlePaddle:develop Apr 13, 2017
@luotao1 luotao1 deleted the in branch April 13, 2017 07:27
heavengate pushed a commit to heavengate/Paddle that referenced this pull request Aug 16, 2021
* update v0.5 release note * update some comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants