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

Method __exit__

tensorflow/python/lib/io/tf_record.py:225–227  ·  view source on GitHub ↗

Exit a `with` block, closing the file.

(self, unused_type, unused_value, unused_traceback)

Source from the content-addressed store, hash-verified

223 return self
224
225 def __exit__(self, unused_type, unused_value, unused_traceback):
226 """Exit a `with` block, closing the file."""
227 self.close()
228
229 def write(self, record):
230 """Write a string record to the file.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected