diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2019-04-25 10:14:08 +0800 |
---|---|---|
committer | Pedro Arthur <bygrandao@gmail.com> | 2019-05-08 12:33:00 -0300 |
commit | 05f86f05bb5060492dd3ff22c23628e4e4334a1e (patch) | |
tree | f69992eccf80d239053bfb9c4c020ae65f504213 /libavfilter/dnn_interface.h | |
parent | 05aec8bb13cc1d698f76c6972a23521a3fba5596 (diff) |
libavfilter/dnn: remove limit for the name of DNN model input/output
remove the requirment that the name of DNN model input/output
should be "x"/"y",
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavfilter/dnn_interface.h')
-rw-r--r-- | libavfilter/dnn_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn_interface.h b/libavfilter/dnn_interface.h index e3673438b6..0390e39b99 100644 --- a/libavfilter/dnn_interface.h +++ b/libavfilter/dnn_interface.h @@ -40,7 +40,7 @@ typedef struct DNNModel{ void *model; // Sets model input and output, while allocating additional memory for intermediate calculations. // Should be called at least once before model execution. - DNNReturnType (*set_input_output)(void *model, DNNData *input, DNNData *output); + DNNReturnType (*set_input_output)(void *model, DNNData *input, const char *input_name, DNNData *output, const char *output_name); } DNNModel; // Stores pointers to functions for loading, executing, freeing DNN models for one of the backends. |