ShapeN
tensorflow C++ API
Returns shape of tensors.
Summary
This operation returns N 1-D integer tensors representing shape ofinput[i]s
.
Arguments:
- scope: A Scope object
Returns:
OutputList
: The output tensor.
ShapeN 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: Any tensor.
Output:
- Output output: Output object of ShapeN class object.
Result:
- std::vector(Tensor)
result_output
: The output tensor.
Using Method
※ input으로 들어온 tensor의 shape를 뽑아낸다.