Skip to content

Conversation

@veyron95
Copy link
Contributor

@veyron95 veyron95 commented Feb 14, 2022

PR types

New features

PR changes

Others

Describe

  1. Support test_imperative_hook_for_layer with _test_eager_guard()
  2. Polish the code, use "forward_post_hook" instead of "forward_hook",this will be more standardized.
@paddle-bot-old
Copy link

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

Copy link
Contributor

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

Avoid copy

Copy link
Contributor

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

GJ, LGTM

@veyron95 veyron95 merged commit a909bdf into PaddlePaddle:develop Feb 16, 2022
@veyron95 veyron95 changed the title [Eager] Support eager hook_for_layer [Eager Hook] Support eager hook_for_layer Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants