#include <io_ops.h>
Writes contents
to the file at input filename
.
Creates the file and recursively creates directory if it does not exist.
Args:
Returns:
Operation
Constructors and Destructors | |
---|---|
WriteFile(const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input contents) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Operation operation
WriteFile( const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input contents )
operator::tensorflow::Operation() const
© 2022 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.9/api_docs/cc/class/tensorflow/ops/write-file