int dims[6];
} nnfw_tensorinfo;
-/*
- * Create a new session instance
+/**
+ * Create a new session instance.
*
- * @param[out] session the session to be created
- * @return NNFW_STATUS_NO_ERROR if successful
+ * <p>This only creates a session.
+ * Model is loaded after {@link nnfw_load_model_from_file} is invoked.
+ * And inference is performed after {@link nnfw_run} is invoked.
+ *
+ * <p>{@link nnfw_close_session} should be called once
+ * if session is no longer need
+ *
+ * @param[out] session The session to be created
+ * @return @c NNFW_STATUS_NO_ERROR if successful
*/
NNFW_STATUS nnfw_create_session(nnfw_session **session);