#include <io_ops.h>
Saves the input tensors to disk.
The size of tensor_names
must match the number of tensors in data
. data[i]
is written to filename
with name tensor_names[i]
.
See also SaveSlices
.
Arguments:
[N]
. The names of the tensors to be saved.N
tensors to save.Returns:
Operation
Constructors and Destructors | |
---|---|
Save(const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input tensor_names, ::tensorflow::InputList data) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Operation operation
Save( const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input tensor_names, ::tensorflow::InputList data )
operator::tensorflow::Operation() const
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/save.html