def write(self, file_content): """Writes file_content to the file. Appends to the end of the file.""" self._prewrite_check() with errors.raise_exception_on_not_ok_status() as status: pywrap_tensorflow.AppendToFile(compat.as_bytes(file_content), self._writable_file, status)
def write(self, file_content): """Writes file_content to the file. Appends to the end of the file.""" self._prewrite_check() pywrap_tensorflow.AppendToFile( compat.as_bytes(file_content), self._writable_file)