GetCapturedTensors

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/fusion/pattern.h>
  • Library file: libge_compiler.so

Function Usage

Obtains all tensors captured within a pattern, ordered by their capture order in the vector.

Prototype

1
Status GetCapturedTensors(std::vector<NodeIo> &node_outputs) const

Parameters

Parameter

Input/Output

Description

node_outputs

Input

All tensors in a pattern.

Returns

Parameter

Type

Description

-

Status

SUCCESS: success.

FAILED: failure.

Restrictions

None