Link Search Menu Expand Document

QueueSize


tensorflow C++ API

tensorflow::ops::QueueSize

Computes the number of elements in the given queue.


Summary

Arguments:

  • scope: A Scope object
  • handle: The handle to a queue.

Returns:

  • Output : the number of elements in the given queue.

Constructor

  • QueueSize(const ::tensorflow::Scope & scope, ::tensorflow::Input handle).

Public attributes

  • tensorflow::Output size.

QueueSize block

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

Argument:

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

Return:

  • Output size: Output object of QueueSize class object.

Result:

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

Using Method