tensorflow:: ops:: SaveV2

#include <io_ops.h>

Saves tensors in V2 checkpoint format.

Summary

By default, saves the named tensors in full. If the caller wishes to save specific slices of full tensors, "shape_and_slices" should be non-empty strings and correspondingly well-formed.

Args:

  • scope: A Scope object
  • prefix: Must have a single element. The prefix of the V2 checkpoint to which we write the tensors.
  • tensor_names: shape {N}. The names of the tensors to be saved.
  • shape_and_slices: shape {N}. The slice specs of the tensors to be saved. Empty strings indicate that they are non-partitioned tensors.
  • tensors: N tensors to save.

Returns:

Constructors and Destructors

SaveV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input prefix, :: tensorflow::Input tensor_names, :: tensorflow::Input shape_and_slices, :: tensorflow::InputList tensors)

Public attributes

operation

Public functions

operator::tensorflow::Operation () const

Public attributes

operation

Operation operation

Public functions

SaveV2

 SaveV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input prefix,
  ::tensorflow::Input tensor_names,
  ::tensorflow::Input shape_and_slices,
  ::tensorflow::InputList tensors
)

operator::tensorflow::Operation

 operator::tensorflow::Operation() const