Identity
tensorflow C++ API
Return a tensor with the same shape and contents as the input tensor or value.
Summary
Arguments:
- scope: A Scope object
Returns:
Output
: The output tensor.
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
: ATensor
.
Output:
- output : Output object of Identity class object.
Result:
- std::vector(Tensor)
result_output
: ATensor
. Has the same type asinput
.
Using Method
※ input에 입력한 tensor와 동일한 tensor를 output으로 내보낸다.