天天看点

TensorFlow教程之API DOC 6.1.12 Class tensorflow::WritableFileClass tensorflow::WritableFile

本文档为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 &amp;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>

继续阅读