Skip to content

Conversation

@liym27
Copy link
Contributor

@liym27 liym27 commented Aug 16, 2020

PR types

Others

PR changes

APIs

Describe

Optimize api paddle.reshape for API2.0
image

@paddle-bot-old
Copy link

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

@paddle-bot-old
Copy link

paddle-bot-old bot commented Aug 16, 2020

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@wangchaochaohu
Copy link
Contributor

wangchaochaohu commented Aug 17, 2020

paddle.tensor.split(x, num_or_sections, axis=0, name=None)

修改tensor下的split函数对齐最新的设计 同时单测完善了类型检查完善

@liym27 liym27 changed the title [API 2.0] Optimize api reshape:(1)Add type check for attr act;(2)Delete attr inplace [API 2.0] Add api paddle.reshape(x, shape, name) Aug 17, 2020
@PaddlePaddle PaddlePaddle deleted a comment from wangchaochaohu Aug 17, 2020
@PaddlePaddle PaddlePaddle deleted a comment from wangchaochaohu Aug 17, 2020
@PaddlePaddle PaddlePaddle deleted a comment from wangchaochaohu Aug 17, 2020
mapingshuo
mapingshuo previously approved these changes Aug 18, 2020
Copy link
Contributor

@mapingshuo mapingshuo left a comment

Choose a reason for hiding this comment

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

LGTM for the reshepe API

wangchaochaohu
wangchaochaohu previously approved these changes Aug 18, 2020
Copy link
Contributor

@wangchaochaohu wangchaochaohu left a comment

Choose a reason for hiding this comment

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

LGTM

liym27 added 4 commits August 18, 2020 20:10
…places Variable. test=develop

Change-Id: I92916cce860d5f779c98c643b8745227b636b6ef
Change-Id: I9113c9a394883341d2db635d0f3f1f7316bff654
Change-Id: Id01217e3e7a3eabacda5aa701756ba42ef820797
Change-Id: Ia9ce2b225e04171e9bf248f4965d28e760f785bf
@liym27 liym27 dismissed stale reviews from wangchaochaohu and mapingshuo via ca20575 August 18, 2020 12:13
zhhsplendid
zhhsplendid previously approved these changes Aug 18, 2020
Copy link
Member

@zhhsplendid zhhsplendid left a comment

Choose a reason for hiding this comment

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

LGTM

Change-Id: Ic5074bd843ebdf754ff86117f7795a77c7fef8d5
Copy link
Member

@zhhsplendid zhhsplendid left a comment

Choose a reason for hiding this comment

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

LGTM

@liym27 liym27 merged commit adba432 into PaddlePaddle:develop Aug 20, 2020
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