NNFW_STATUS nnfw_output_tensorinfo(nnfw_session *session, uint32_t index,
nnfw_tensorinfo *tensor_info);
-/*
- * Set default backend
+/**
+ * @brief Set default backend for all operators
+ *
+ * Note: This function should be called before {@link nnfw_prepare} is invoked.
+ * Possible backend strings are: "cpu", "acl_cl", "acl_neon"
+ * Supported backends differs on each platforms.
+ * For example, `x86_64` supports "cpu" only.
*
* @param[in] session session to which a default backend is set
* @param[in] backend default backend
+ *
+ * @return @c NNFW_STATUS_NO_ERROR if successful
*/
NNFW_STATUS nnfw_set_default_backend(nnfw_session *session, const char *backend);
-/*
- * Set the operation's backend
+/**
+ * @brief Set the operation's backend
+ *
+ * Note: This function should be called before {@link nnfw_prepare} is invoked.
+ * Possible backend strings are: "cpu", "acl_cl", "acl_neon"
+ * Supported backends differs on each platforms.
+ * For example, `x86_64` supports "cpu" only.
+ * The backend for op has higher priority than default backend specified by
+ * nnfw_set_default_backend.
*
* @param[in] session session to be modified
* @param[in] op operation to be set
* @param[in] backend bakcend on which operation run
*
- * @return NNFW_STATUS_NO_ERROR if successful
+ * @return @c NNFW_STATUS_NO_ERROR if successful
*/
NNFW_STATUS nnfw_set_op_backend(nnfw_session *session, const char *op, const char *backend);