tensorflow::ops::WriteFile
#include <io_ops.h>
Writes contents to the file at input filename.
Summary
Creates file and recursively
creates directory if not existing.
Arguments:
- scope: A Scope object
- filename: scalar. The name of the file to which we write the contents.
- contents: scalar. The content to be written to the output file.
Returns:
- the created
Operation
| Constructors and Destructors | |
|---|---|
WriteFile(const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input contents) |
| Public attributes | |
|---|---|
operation | |
| Public functions | |
|---|---|
operator::tensorflow::Operation() const | |
Public attributes
operation
Operation operation
Public functions
WriteFile
WriteFile( const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input contents )
operator::tensorflow::Operation
operator::tensorflow::Operation() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/write-file