Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@guoshengCS
Copy link
Contributor

[cherry-pick] Fix and enhance beam_search_op and beam_searc_decode_op. Related #11238

Fix and enhance beam_search_op and beam_searc_decode_op
@guoshengCS guoshengCS requested review from kuke and panyx0718 June 28, 2018 07:03
@shanyi15 shanyi15 closed this Jul 3, 2018
@panyx0718
Copy link
Contributor

sorry, did I miss this PR?

@kuke
Copy link
Contributor

kuke commented Jul 3, 2018

@panyx0718 Yes, this PR needs to merge into v0.14.0

@kuke
Copy link
Contributor

kuke commented Jul 3, 2018

@guoshengCS

@kuke kuke reopened this Jul 3, 2018
[[4, 2, 5], [2, 1, 3], [3, 5, 2], [8, 2, 1]], dtype='int64')
tensor = create_tensor(self.scope, "ids", np_data)
tensor.set_recursive_sequence_lengths(self.lod)
tensor.set_lod(self.lod)
Copy link
Contributor

@panyx0718 panyx0718 Jul 3, 2018

Choose a reason for hiding this comment

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

why is this changed from length to offset? Is there a bug in length-based lod?
@guoshengCS

@panyx0718 panyx0718 merged commit 163b5e5 into PaddlePaddle:release/0.14.0 Jul 3, 2018
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.

4 participants