Overview
ArgDescInfo class. This class describes the address information specified by Args, a kernel input parameter. It semantically expresses Args-specified addresses and specifies the usage and related information about each address. Multiple ArgDescInfo objects can form an ArgsFormat, which is expressed as std::vector<ArgDescInfo> in code.
Header Files to Be Included
1 | #include <graph/arg_desc_info.h> |
Public Member Functions
explicit ArgDescInfo(ArgDescType arg_type, int32_t ir_index = -1, bool is_folded = false) static ArgDescInfo CreateCustomValue(uint64_t custom_value) static ArgDescInfo CreateHiddenInput(HiddenInputSubType hidden_type) ArgDescType GetType() const uint64_t GetCustomValue() const graphStatus SetCustomValue(uint64_t custom_value) HiddenInputSubType GetHiddenInputSubType() const graphStatus SetHiddenInputSubType(HiddenInputSubType hidden_type) int32_t GetIrIndex() const void SetIrIndex(int32_t ir_index) bool IsFolded() const void SetFolded(bool is_folded)
Parent topic: ArgDescInfo