Go to the source code of this file.
|
#define | ARMNN_THROW_PARSE_EXCEPTION(msg) |
|
#define | CHECK_SUBGRAPH(MODEL, SUBGRAPH_INDEX) CheckSubgraph(MODEL, SUBGRAPH_INDEX, CHECK_LOCATION()) |
|
#define | CHECK_MODEL(MODEL, SUBGRAPH_INDEX, OPERATOR_INDEX) CheckModel(MODEL, SUBGRAPH_INDEX, OPERATOR_INDEX, CHECK_LOCATION()) |
|
#define | CHECK_TENSOR(MODEL, SUBGRAPH_INDEX, TENSOR_INDEX) CheckTensor(MODEL, SUBGRAPH_INDEX, TENSOR_INDEX, CHECK_LOCATION()) |
|
#define | CHECK_TENSOR_PTR(TENSOR_PTR) CheckTensorPtr(TENSOR_PTR, CHECK_LOCATION()) |
|
#define | CHECK_BUFFER(MODEL, BUFFER_INDEX) CheckBuffer(MODEL, BUFFER_INDEX, CHECK_LOCATION()) |
|
#define | CHECK_BUFFER_SIZE(BUFFER_PTR, TENSOR_INFO, BUFFER_ID) CheckBufferSize(BUFFER_PTR, TENSOR_INFO, BUFFER_ID, CHECK_LOCATION()) |
|
#define | CHECK_SUPPORTED_FUSED_ACTIVATION(OPTION, SUBGRAPH_INDEX, OPERATOR_INDEX) |
|
◆ ARMNN_THROW_PARSE_EXCEPTION
#define ARMNN_THROW_PARSE_EXCEPTION |
( |
|
msg | ) |
|
◆ CHECK_BUFFER
#define CHECK_BUFFER |
( |
|
MODEL, |
|
|
|
BUFFER_INDEX |
|
) |
| CheckBuffer(MODEL, BUFFER_INDEX, CHECK_LOCATION()) |
◆ CHECK_BUFFER_SIZE
#define CHECK_BUFFER_SIZE |
( |
|
BUFFER_PTR, |
|
|
|
TENSOR_INFO, |
|
|
|
BUFFER_ID |
|
) |
| CheckBufferSize(BUFFER_PTR, TENSOR_INFO, BUFFER_ID, CHECK_LOCATION()) |
◆ CHECK_MODEL
#define CHECK_MODEL |
( |
|
MODEL, |
|
|
|
SUBGRAPH_INDEX, |
|
|
|
OPERATOR_INDEX |
|
) |
| CheckModel(MODEL, SUBGRAPH_INDEX, OPERATOR_INDEX, CHECK_LOCATION()) |
◆ CHECK_SUBGRAPH
#define CHECK_SUBGRAPH |
( |
|
MODEL, |
|
|
|
SUBGRAPH_INDEX |
|
) |
| CheckSubgraph(MODEL, SUBGRAPH_INDEX, CHECK_LOCATION()) |
◆ CHECK_SUPPORTED_FUSED_ACTIVATION
#define CHECK_SUPPORTED_FUSED_ACTIVATION |
( |
|
OPTION, |
|
|
|
SUBGRAPH_INDEX, |
|
|
|
OPERATOR_INDEX |
|
) |
| |
Value: do { \
if (IsActivationSupported(OPTION->fused_activation_function) == false) \
{ \
fmt::format("TfLite parser doesn't support fused activation: " \
"{}/{} in {} subgraph:{} operator:{} at {}", \
OPTION->fused_activation_function, \
tflite::EnumNameActivationFunctionType(\
OPTION->fused_activation_function), \
__func__, \
SUBGRAPH_INDEX, \
OPERATOR_INDEX, \
} \
} while(false)
Definition at line 343 of file TfLiteParser.cpp.
◆ CHECK_TENSOR
#define CHECK_TENSOR |
( |
|
MODEL, |
|
|
|
SUBGRAPH_INDEX, |
|
|
|
TENSOR_INDEX |
|
) |
| CheckTensor(MODEL, SUBGRAPH_INDEX, TENSOR_INDEX, CHECK_LOCATION()) |
◆ CHECK_TENSOR_PTR
#define CHECK_TENSOR_PTR |
( |
|
TENSOR_PTR | ) |
CheckTensorPtr(TENSOR_PTR, CHECK_LOCATION()) |