Module: tf.compat.v1.test

Testing.

Classes

class Benchmark: Abstract class that provides helpers for TensorFlow benchmarks.

class StubOutForTesting: Support class for stubbing methods out for unit testing.

class TestCase: Base class for tests that need to test TensorFlow.

Functions

assert_equal_graph_def(...): Asserts that two GraphDefs are (mostly) the same.

benchmark_config(...): Returns a tf.compat.v1.ConfigProto for disabling the dependency optimizer.