Print


tensorflow C++ API

tensorflow::ops::Print

Prints a list of tensors.


Summary

Passesinputthrough tooutputand printsdatawhen evaluating.

Arguments:

  • scope: A Scope object
  • input: The tensor passed to output
  • data: A list of tensors to print out when op is evaluated.

Optional attributes (seeAttrs):

  • message: A string, prefix of the error message.
  • first_n: Only log first_nnumber of times. -1 disables logging.
  • summarize: Only print this many entries of each tensor.

Returns:

  • Output: = The unmodified inputtensor

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

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input inputs : The tensor passed to output
  • InputList data : A list of tensors to print out when op is evaluated.

Return:

  • Output output : The unmodified inputtensor

Result:

  • std::vector<Tensor> result_output : Returned object of executed result by calling session.

Using Method

results matching ""

    No results matching ""