tensorflow::ops::WriteFile

#include <io_ops.h>

Writes contents to the file at input filename.

Summary

Creates file and recursively

creates directory if not existing.

Arguments:

  • scope: A Scope object
  • filename: scalar. The name of the file to which we write the contents.
  • contents: scalar. The content to be written to the output file.

Returns:

Constructors and Destructors

WriteFile(const ::tensorflow::Scope & scope, ::tensorflow::Input filename, ::tensorflow::Input contents)

Public attributes

operation

Public functions

operator::tensorflow::Operation() const

Public attributes

operation

Operation operation

Public functions

WriteFile

 WriteFile(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input filename,
  ::tensorflow::Input contents
)

operator::tensorflow::Operation

 operator::tensorflow::Operation() const