Skip to content
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

cannot import name 'dp_event' from 'tensorflow_privacy.privacy.analysis' #471

Open
Yeojoon opened this issue Apr 30, 2023 · 2 comments
Open

Comments

@Yeojoon
Copy link

Yeojoon commented Apr 30, 2023

Hi,

I was trying to run codes that use 'dp_event' from 'tensorflow_privacy.privacy.analysis', but I realized that there is no 'dp_event' in 'tensorflow_privacy.privacy.analysis' anymore. Could you let me know which function I can use instead of 'dp_event'?

Thank you for your help and time in advance!

@galenmandrew
Copy link
Collaborator

DpEvent and related classes are not part of Tensorflow Privacy. They come from the dp_accounting library.

@Yeojoon
Copy link
Author

Yeojoon commented May 1, 2023

Gotcha, found it! Thank you for your help a lot.

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

No branches or pull requests

2 participants