Skip to content

Support user specified label input in tests #976

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

Merged
merged 3 commits into from
Dec 21, 2016

Conversation

pengli09
Copy link
Contributor

Currently label inputs are automatically generated by test utils. This PR adds support for user specified label input.

string nameIn,
size_t dimIn,
size_t sizeIn,
std::vector<int> labelInitValue,
Copy link
Collaborator

Choose a reason for hiding this comment

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

const std::vector &

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

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

Basically LGTM, but I didn't look at details. Please let others to give other reviews.

@pengli09 pengli09 merged commit 28c5010 into PaddlePaddle:develop Dec 21, 2016
@pengli09 pengli09 deleted the add_label_seq_pos_to_inputdef branch December 21, 2016 07:54
zhangyuqin1998 pushed a commit to zhangyuqin1998/Paddle that referenced this pull request Feb 20, 2025
tianyuzhou668 pushed a commit to tianyuzhou668/Paddle that referenced this pull request May 12, 2025
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.

3 participants