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.

Args:

  • 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