Skip to content

add profiler statistic helper #40111

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
Mar 8, 2022

Conversation

rainyfly
Copy link
Contributor

@rainyfly rainyfly commented Mar 3, 2022

PR types

Others

PR changes

Others

Describe

用于Profiler数据统计表单时候对时间段的并、交、叉集操作

@paddle-bot-old
Copy link

paddle-bot-old bot commented Mar 3, 2022

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@@ -0,0 +1,225 @@
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

这块Numpy和scipy库没有相关的功能吗?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

我看numpy的交、叉、并是那种以里面一个元素为单位的交叉并,比如1D的,s1 = [1, 2, 4] , s2 = [1, 2, 3] , 交得到[1, 2] , 2D的,s1 = [(1,2), (3,6)], s2 = [(1,2), (4,5)], 交得到[(1,2)],只是考虑元素是否相同,这里想要实现的更像是线段的交、叉、并

@wawltor wawltor self-requested a review March 8, 2022 01:55
Copy link
Contributor

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit 1f857cb into PaddlePaddle:develop Mar 8, 2022
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