Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix size for lstm_step, identity_projection and concat #2341

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

emailweixu
Copy link
Collaborator

No description provided.

@emailweixu emailweixu requested a review from hedaoyuan June 1, 2017 04:53
Layer(
name=name,
type=LayerType.LSTM_STEP_LAYER,
active_type=act.name,
active_gate_type=gate_act.name,
active_state_type=state_act.name,
bias=ParamAttr.to_bias(bias_attr),
size=size,
size=state.size,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下面3063行处,也需要修改成size=state.size,吧?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其实这里不用改也可以,因为前面已经有size=state.size了

@emailweixu emailweixu merged commit c562e57 into PaddlePaddle:develop Jun 1, 2017
@emailweixu emailweixu deleted the fix_size branch March 16, 2018 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants