Skip to content

Instantly share code, notes, and snippets.

@MFreidank
Created June 27, 2020 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MFreidank/8db8bd531a11dab65db97e1c3ae49f5b to your computer and use it in GitHub Desktop.
Save MFreidank/8db8bd531a11dab65db97e1c3ae49f5b to your computer and use it in GitHub Desktop.
tensorflow>=2.1 determinism variable
import tensorflow as tf
import os
os.environ["TF_DETERMINISTIC_OPS"] = "1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment