Function Description
Obtains the output tensor description of an operator. Note that the shape information that cannot be determined during compilation is not included in the tensor description.
Function Prototype
CompileTimeTensorDesc *MutableOutputTdInfo(const size_t index)
Parameters
| Parameter | Input/Output | Description |
| index | Input | Operator output index, starting from 0. |
Return Value
Tensor description. The returned object is not const.
Calling Example
for (size_t i = 0; i < node->GetAllOutDataAnchorsSize(); ++i) {
auto td = compute_node_info.MutableOutputTdInfo(i);
// ...
}