TFRecordReader


tensorflow C++ API

tensorflow::ops::TFRecordReader

A Reader that outputs the records from a TensorFlow Records file.


Summary

Arguments:

  • scope: A Scope object

Optional attributes (seeAttrs):

  • container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.
  • shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.

Returns:

  • Output: The handle to reference the Reader.

Constructor

  • TFRecordReader(const ::tensorflow::Scope & scope, const TFRecordReader::Attrs & attrs) .

Public attributes

  • tensorflow::Output reader_handle.

TFRecordReader block

Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_io_ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)

  • TFRecordReader::Attrs attrs : input option value. ex) container_ = ; shared_name_ = ; compression_type_ = ;

Return:

  • Output reader_handle : Output object of TFRecordReader class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method

Read Tensorflow Record File Format.

results matching ""

    No results matching ""