Identity


tensorflow C++ API

tensorflow::ops::Identity

Return a tensor with the same shape and contents as the input tensor or value.


Summary

Arguments:

Returns:


Identity block

Source link :https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_array_ops.cpp

Argument:

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

Output:

  • output : Output object of Identity class object.

Result:

  • std::vector(Tensor) result_output: A Tensor. Has the same type as input.

Using Method

※ input에 입력한 tensor와 동일한 tensor를 output으로 내보낸다.

results matching ""

    No results matching ""