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

# TODO(b/148678573,b/148685415): must use the ReferenceExecutor #2

Open
MazharAly opened this issue Sep 14, 2022 · 0 comments
Open

Comments

@MazharAly
Copy link

MazharAly commented Sep 14, 2022

While executing the code I am facing following error in the line 2;

Code:
"
......
tf.compat.v1.enable_v2_behavior()

"# TODO(b/148678573,b/148685415): must use the ReferenceExecutor because it
"# supports unbounded references and tff.sequence_* intrinsics.
tff.framework.set_default_executor(tff.framework.ReferenceExecutor())

"
Error:

----> [7] tff.framework.set_default_executor(tff.framework.ReferenceExecutor())

AttributeError: module 'tensorflow_federated.python.core.framework' has no attribute 'set_default_executor'

Please guide me in current situation as there are no "set_default_executor()" and "ReferenceExecutor()" functions in tff.framework class.
@Kirito-E2D

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

1 participant