tensorflow::ops::Save

#include <io_ops.h>

Saves the input tensors to disk.

Summary

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:

  • scope: A Scope object
  • filename: Must have a single element. The name of the file to which we write the tensor.
  • tensor_names: Shape [N]. The names of the tensors to be saved.
  • data: N tensors to save.

Returns:

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

Public attributes

operation

Operation operation

Public functions

Save

 Save(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input filename,
  ::tensorflow::Input tensor_names,
  ::tensorflow::InputList data
)

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/save