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

Method close

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

Close the file.

(self)

Source from the content-addressed store, hash-verified

241 self._writer.Flush(status)
242
243 def close(self):
244 """Close the file."""
245 with errors.raise_exception_on_not_ok_status() as status:
246 self._writer.Close(status)

Callers 13

create_tfrecord_filesFunction · 0.95
testTFRecordDatasetMethod · 0.95
generateTestDataMethod · 0.95
__exit__Method · 0.95
_createFilesMethod · 0.95
_createFilesMethod · 0.95
_createFilesMethod · 0.95
_createFileMethod · 0.95
_createFilesMethod · 0.95

Calls 1

CloseMethod · 0.45

Tested by 12

create_tfrecord_filesFunction · 0.76
testTFRecordDatasetMethod · 0.76
generateTestDataMethod · 0.76
_createFilesMethod · 0.76
_createFilesMethod · 0.76
_createFilesMethod · 0.76
_createFileMethod · 0.76
_createFilesMethod · 0.76
_createTFRecordFilesMethod · 0.76