GetVal(std::vector<TensorDataType> &value)
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the attribute value of the array of the TensorDataType type.
Prototype
1 | int32_t GetVal(std::vector<TensorDataType> &value) const = 0 |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
Value |
Output |
Obtained attribute value of the array of the TensorDataType type. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Exception Handling
None
Constraints
None
Parent topic: Class AttrValue