Announcing the TensorFlow Dev Summit 2020 Learn more

tf.test.benchmark_config

View source on GitHub

Returns a tf.compat.v1.ConfigProto for disabling the dependency optimizer.

Aliases:

  • tf.compat.v1.test.benchmark_config
  • tf.compat.v2.test.benchmark_config
tf.test.benchmark_config()

Returns:

A TensorFlow ConfigProto object.