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

Method write

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

Write a string record to the file. Args: record: str

(self, record)

Source from the content-addressed store, hash-verified

227 self.close()
228
229 def write(self, record):
230 """Write a string record to the file.
231
232 Args:
233 record: str
234 """
235 with errors.raise_exception_on_not_ok_status() as status:
236 self._writer.WriteRecord(record, status)
237
238 def flush(self):
239 """Flush the file."""

Callers 4

create_tfrecord_filesFunction · 0.95
testTFRecordDatasetMethod · 0.95
generateTestDataMethod · 0.95

Calls 1

WriteRecordMethod · 0.45

Tested by 4

create_tfrecord_filesFunction · 0.76
testTFRecordDatasetMethod · 0.76
generateTestDataMethod · 0.76