Skip to content

Seed the installed TensorFlow module in set_global_seeds - #4826

Open
Afloat16 wants to merge 1 commit into
bulletphysics:masterfrom
Afloat16:pybullet/seed-installed-tensorflow
Open

Afloat16 wants to merge 1 commit into
bulletphysics:masterfrom
Afloat16:pybullet/seed-installed-tensorflow

Conversation

@Afloat16

@Afloat16 Afloat16 commented Nov 7, 2026

Copy link
Copy Markdown

tf is the conventional local alias for TensorFlow, not the installed package name. Import tensorflow.compat.v1 so the optional dependency receives the seed alongside NumPy and Python's random generator.

Verified TensorFlow seed forwarding with a stub at the canonical module path and checked that reseeding reproduced NumPy and Python draws.

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