MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / assertValidDebugInfo

Method assertValidDebugInfo

tensorflow/lite/python/lite_test.py:54–62  ·  view source on GitHub ↗

Verify the DebugInfo is valid.

(self, debug_info)

Source from the content-addressed store, hash-verified

52class TestModels(test_util.TensorFlowTestCase):
53
54 def assertValidDebugInfo(self, debug_info):
55 """Verify the DebugInfo is valid."""
56 file_names = set()
57 for file_path in debug_info.files:
58 file_names.add(os.path.basename(file_path))
59 # To make the test independent on how the nodes are created, we only assert
60 # the name of this test file.
61 self.assertIn('lite_test.py', file_names)
62 self.assertNotIn('lite_v2_test.py', file_names)
63
64
65class FromConstructor(TestModels):

Callers 3

testGraphDebugInfoMethod · 0.80
testGraphDebugInfoMethod · 0.80
testGraphDebugInfoMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected