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

Method test_dedup_assets

tensorflow/python/saved_model/load_test.py:290–297  ·  view source on GitHub ↗
(self, cycles)

Source from the content-addressed store, hash-verified

288 self.assertEqual("contents", f.read())
289
290 def test_dedup_assets(self, cycles):
291 vocab = self._make_asset("contents")
292 root = tracking.AutoTrackable()
293 root.asset1 = tracking.TrackableAsset(vocab)
294 root.asset2 = tracking.TrackableAsset(vocab)
295 imported = cycle(root, cycles)
296 self.assertEqual(imported.asset1.asset_path.numpy(),
297 imported.asset2.asset_path.numpy())
298
299 def test_implicit_input_signature(self, cycles):
300 @def_function.function

Callers

nothing calls this directly

Calls 3

_make_assetMethod · 0.95
cycleFunction · 0.85
numpyMethod · 0.45

Tested by

no test coverage detected