Skip to content

Instantly share code, notes, and snippets.

@rjpower
Created January 20, 2019 20:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjpower/8c9723e99ed72c61e768bfede9630c2e to your computer and use it in GitHub Desktop.
Save rjpower/8c9723e99ed72c61e768bfede9630c2e to your computer and use it in GitHub Desktop.
session_config = tf.ConfigProto(
intra_op_parallelism_threads=64,
inter_op_parallelism_threads=4,
)
...
run_config = tpu.RunConfig(
session_config=session_config,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment