Asserts that two
GraphDefs are (mostly) the same.
GraphDef protos for equality, ignoring versions and ordering of
nodes, attrs, and control inputs. Node names are used to match up nodes
between the graphs, so the naming of nodes must be consistent.
AssertionError: If the
GraphDefs do not match.
TypeError: If either argument is not a
Returns a temporary directory for use during tests.
There is no need to delete the directory after the test.
The temporary directory.
Returns whether TensorFlow was built with CUDA (GPU) support.