Skip to content

Conversation

tk2lab
Copy link

@tk2lab tk2lab commented Feb 14, 2022

python.interlnal.custom_gradient.custom_gradient generate warnings: "@custom_gradient grad_fn has 'variables' in signature, but no ResourceVariables were used on the forward pass.".

TF will specify not only arg 'variabels' but also **kwargs.
In 'f_wrapped', vjp_bwd can use kwargs even if vjp_bwd_wrapped does not have kwargs.

@tk2lab
Copy link
Author

tk2lab commented Apr 27, 2022

signed

@midfield midfield requested a review from jburnim June 7, 2022 17:56
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.

1 participant