-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate node info for pipeline, and include mlops database based on sqlite to build android library. Signed-off-by: Jaeyun Jung <[email protected]>
- Loading branch information
1 parent
dd9e8b1
commit 4dc3c0c
Showing
11 changed files
with
442 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
/** | ||
* @file mlops-agent-internal.c | ||
* @date 20 January 2025 | ||
* @brief Internal function for ml-agent interface. | ||
* @see https://github.com/nnstreamer/deviceMLOps.MLAgent | ||
* @author Jaeyun Jung <[email protected]> | ||
* @bug No known bugs except for NYI items | ||
*/ | ||
|
||
#include "log.h" | ||
#include "mlops-agent-internal.h" | ||
#include "mlops-agent-node.h" | ||
#include "service-db-util.h" | ||
|
||
/** | ||
* @brief Internal function to initialize mlops-agent interface. | ||
*/ | ||
void | ||
ml_agent_initialize (const char *db_path) | ||
{ | ||
g_assert (STR_IS_VALID (db_path)); | ||
svcdb_initialize (db_path); | ||
mlops_node_initialize (); | ||
} | ||
|
||
/** | ||
* @brief Internal function to finalize mlops-agent interface. | ||
*/ | ||
void | ||
ml_agent_finalize (void) | ||
{ | ||
mlops_node_finalize (); | ||
svcdb_finalize (); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.