diff options
author | Inki Dae <inki.dae@samsung.com> | 2020-03-10 15:50:33 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2020-04-14 09:42:19 +0900 |
commit | 49e2a24f07a06a5148b58608228f6e5557c51a79 (patch) | |
tree | 93f4e811ced3c452cd98bf4e33fc6bfbc587d041 /include/mv_inference.h | |
parent | c45b075e46f0b68dd77710d93c4f8ab87a5b584e (diff) | |
download | mediavision-49e2a24f07a06a5148b58608228f6e5557c51a79.tar.gz mediavision-49e2a24f07a06a5148b58608228f6e5557c51a79.tar.bz2 mediavision-49e2a24f07a06a5148b58608228f6e5557c51a79.zip |
mv_inference: Add inference data type support
This patch adds inference input data type support for
Mediavision. With this, we can use user-given input tensor
data type for OpenCV backend.
Change-Id: I681f203f4cbe9b3cc7b59a746cfab650009f65c1
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/mv_inference.h')
-rw-r--r-- | include/mv_inference.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mv_inference.h b/include/mv_inference.h index 4e8ddb17..397944dc 100644 --- a/include/mv_inference.h +++ b/include/mv_inference.h @@ -150,6 +150,16 @@ extern "C" { #define MV_INFERENCE_INPUT_TENSOR_CHANNELS "MV_INFERENCE_INPUT_TENSOR_CHANNELS" /** + * @brief Defines #MV_INFERENCE_INPUT_DATA_TYPE to set data type of input tensor. + * @details Data type of input tensor can be changed according to a given weight file. + * + * @since_tizen 6.0 + * @see mv_engine_config_set_int_attribute() + * @see mv_engine_config_get_int_attribute() + */ +#define MV_INFERENCE_INPUT_DATA_TYPE "MV_INFERENCE_INPUT_DATA_TYPE" + +/** * @brief Defines #MV_INFERENCE_INPUT_NODE_NAME to set the input node name. * * @since_tizen 5.5 |