23#define NNFW_RETURN_ERROR_IF_NULL(p) \
27 return NNFW_STATUS_UNEXPECTED_NULL; \
33 return session->set_config(key, value);
39 return session->get_config(key, value, value_size);
45 return session->load_circle_from_buffer(buffer,
size);
51 return session->train_export_circleplus(path);
#define NNFW_RETURN_ERROR_IF_NULL(p)
NNFW_STATUS nnfw_set_config(nnfw_session *session, const char *key, const char *value)
NNFW_STATUS nnfw_train_export_circleplus(nnfw_session *session, const char *path)
Export circle+ model.
NNFW_STATUS nnfw_load_circle_from_buffer(nnfw_session *session, uint8_t *buffer, size_t size)
Load a circle model from buffer.
NNFW_STATUS nnfw_get_config(nnfw_session *session, const char *key, char *value, size_t value_size)
NNFW_STATUS
Result values returned from a call to an API function.