本文档为tensorflow参考文档,本转载已得到tensorflow中文社区授权。
a file abstraction for sequential writing.
the implementation must provide buffering since callers may append small fragments at a time to the file.
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#tensorflow_writablefile_writablefile"><code>tensorflow::writablefile::writablefile()</code></a>
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#virtual_tensorflow_writablefile_writablefile"><code>virtual tensorflow::writablefile::~writablefile()</code></a>
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#virtual_status_tensorflow_writablefile_append"><code>virtual status tensorflow::writablefile::append(const stringpiece &data)=0</code></a>
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#virtual_status_tensorflow_writablefile_close"><code>virtual status tensorflow::writablefile::close()=0</code></a>
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#virtual_status_tensorflow_writablefile_flush"><code>virtual status tensorflow::writablefile::flush()=0</code></a>
<a href="http://www.tensorfly.cn/tfdoc/api_docs/cc/classwritablefile.html#virtual_status_tensorflow_writablefile_sync"><code>virtual status tensorflow::writablefile::sync()=0</code></a>