Internal helpers to make a bridge between NNS filters and the ML Agent service. More...
#include <json-glib/json-glib.h>
#include <nnstreamer_log.h>
#include <mlops-agent-interface.h>
#include "ml_agent.h"
Go to the source code of this file.
Functions | |
gchar * | mlagent_get_model_path_from (const GValue *val) |
Get a path of the model file from a given GValue. More... | |
Variables | |
const gchar | URI_SCHEME [] = "mlagent" |
const gchar | URI_KEYWORD_MODEL [] = "model" |
const gchar | JSON_KEY_MODEL_PATH [] = "path" |
Internal helpers to make a bridge between NNS filters and the ML Agent service.
Copyright (C) 2023 Wook Song wook1 Copyright (c) 2023 Samsung Electronics Co., Ltd. All Rights Reserved. 6.so ng@sa msun g.com
Definition in file ml_agent.c.
gchar* mlagent_get_model_path_from | ( | const GValue * | val | ) |
Get a path of the model file from a given GValue.
[in] | val | A pointer to a GValue holding a G_TYPE_STRING value |
Common checker for the given URI
It is required to be revised to support more scenarios that exploit the ML Agent.
Convert the given URI for a model to the file path
Definition at line 33 of file ml_agent.c.
const gchar JSON_KEY_MODEL_PATH[] = "path" |
Definition at line 23 of file ml_agent.c.
const gchar URI_KEYWORD_MODEL[] = "model" |
Definition at line 22 of file ml_agent.c.
const gchar URI_SCHEME[] = "mlagent" |
Definition at line 21 of file ml_agent.c.