op_arg_def
The APIs described in this section are reserved and may be changed or deprecated in the future. They do not need your attention.
API Definition |
Description |
|---|---|
VisitTupleElem(const F &func, const std::tuple<Ts...> &tp) |
Traverses all elements of OpArgBase and calls func. |
VisitTupleElemNoReturn(const F &func, const std::tuple<Ts...> &tp) |
Traverses all elements of OpArgBase and calls func. |
VisitTupleElemAt(size_t idx, const F &func, const std::tuple<Ts...> &tp) |
Calls func for the element with the specified idx in OpArgBase. |
OpArgBase(const std::tuple<T...> &arg) |
Indicates the OpArgBase constructor. |
OpArgBase(std::tuple<T...> &&arg) |
Indicates the OpArgBase constructor. |
OpArgBase() |
Indicates the OpArgBase constructor. |
Size() |
Obtains the element count of OpArgBase. |
VisitBy(const F &func) |
Traverses all elements of OpArgBase and calls func. |
VisitTupleElem(func, arg_) |
Traverses all elements of OpArgBase and calls func. |
VisitByNoReturn(const F &func) |
Calls func for the element with the specified idx in OpArgBase. |
VisitAt(size_t idx, const F &func) |
Calls func for the element with the specified idx in OpArgBase. |
OpArgTypeStr(int argType) |
Converts argType to a string. |
ExtractOpArgType(const T &t, const Ts &...ts) |
Obtains the elements of the V type from ts. |
ExtractOpArgTypeTuple(const Tuple &t) |
Obtains the elements of the V type from t. |
OpArgValue() |
Indicates the OpArgValue constructor. |
OpArgValue(const aclTensor *value) |
Constructs OpArgValue with the given value and assigns a value to it. |
OpArgValue(aclTensor *value) |
|
OpArgValue(const aclTensorList *value) |
|
OpArgValue(aclTensorList *value) |
|
OpArgValue(std::string *value) |
|
OpArgValue(const std::string *value) |
|
OpArgValue(std::string &value) |
|
OpArgValue(const std::string &value) |
|
OpArgValue(const char *value) |
|
OpArgValue(char *value) |
|
OpArgValue(std::vector<std::tuple<void *, const aclTensor *>> *value) |
|
OpArgValue(const std::vector<std::tuple<void*, const aclTensor*>> *value) |
|
OpArgValue(double value) |
|
OpArgValue(uint32_t value) |
|
OpArgValue(int32_t value) |
|
OpArgValue(float value) |
|
OpArgValue(const bool value) |
|
OpArgValue(const DataType value) |
|
OpArgValue(aclScalar *value) |
|
OpArgValue(const aclScalar *value) |
|
OpArgValue(aclIntArray *value) |
|
OpArgValue(const aclIntArray *value) |
|
OpArgValue(aclFloatArray *value) |
|
OpArgValue(const aclFloatArray *value) |
|
OpArgValue(aclBoolArray *value) |
|
OpArgValue(const aclBoolArray *value) |
|
OpArgValue(op::OpImplMode value) |
|
OpArgValue(const T &value) |
|
OpArg() |
Indicates the OpArg constructor. |
OpArgList() |
Indicates the OpArgList constructor. |
OpArgList(OpArg *args_, size_t count_) |
Creates an OpArgList with the given args. |
OpArgContext() |
Indicates the OpArgContext constructor. |
GetOpArg(OpArgDef type) |
Obtains an OpArgList of the specified type. |
ContainsOpArgType(OpArgDef type) |
Checks whether OpArgContext contains an OpArgList of the execution type. |
AppendOpWorkspaceArg(aclTensorList *tensorList) |
Adds the given TensorList to OpArgContext as a workspace parameter. |
AppendOpArg([[maybe_unused]] size_t idx, const aclTensor *tensor, OpArg *&currArg) |
Adds the given parameters to OpArgList. |
AppendOpArg([[maybe_unused]] size_t idx, aclTensor *tensor, OpArg *&currArg) |
Adds the given parameters to OpArgList. |
AppendOpArg([[maybe_unused]] size_t idx, const aclTensorList *tensorList, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, aclTensorList *tensorList, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, [[maybe_unused]] const std::nullptr_t tensor, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const bool value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const DataType value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, aclScalar *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const aclScalar *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, aclIntArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const aclIntArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, aclFloatArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const aclFloatArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, aclBoolArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const aclBoolArray *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, std::string *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const std::string *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, std::string &value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const std::string &value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const char *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, char *value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, double value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, float value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, int32_t value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, uint32_t value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, op::OpImplMode value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, std::vector<std::tuple<void*, const aclTensor*>> &value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, const std::vector<std::tuple<void*, const aclTensor*>> &value, OpArg *&currArg) |
|
AppendOpArg([[maybe_unused]] size_t idx, T value, OpArg *&currArg) |
|
OpArgContextSize(const T &t, const Ts &...ts) |
Calculates the size of OpArgContext based on the given parameters. |
OpArgContextInit(OpArgContext &ctx, OpArg *&currArg, const T &t, const Ts &...ts) |
Initializes OpArgContext with the given parameters. |
MakeOpArgContext(const Ts &...ts) |
Creates an OpArgContext with the given parameters. |
GetOpArgContext(const Ts &...ts) |
Obtains the OpArgContext using the specified parameters. |
DestroyOpArgContext(OpArgContext *ctx) |
Destroys a specified OpArgContext. |