summaryrefslogtreecommitdiffstats
path: root/libavfilter/dnn/dnn_backend_native.h
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2019-07-29 09:56:54 +0800
committerPedro Arthur <bygrandao@gmail.com>2019-07-29 12:34:19 -0300
commitccbab41039af424237eaac5c302c293ab97540f8 (patch)
treef1c93cf11a6989cb7edc9e858141f3536fa4d10e /libavfilter/dnn/dnn_backend_native.h
parent3805aae47966b691f825abab6843f55676437a02 (diff)
downloadffmpeg-streaming-ccbab41039af424237eaac5c302c293ab97540f8.zip
ffmpeg-streaming-ccbab41039af424237eaac5c302c293ab97540f8.tar.gz
dnn: convert tf.pad to native model in python script, and load/execute it in the c code.
since tf.pad is enabled, the conv2d(valid) changes back to its original behavior. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavfilter/dnn/dnn_backend_native.h')
-rw-r--r--libavfilter/dnn/dnn_backend_native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn/dnn_backend_native.h b/libavfilter/dnn/dnn_backend_native.h
index 8ef1855..b6f9533 100644
--- a/libavfilter/dnn/dnn_backend_native.h
+++ b/libavfilter/dnn/dnn_backend_native.h
@@ -30,7 +30,7 @@
#include "../dnn_interface.h"
#include "libavformat/avio.h"
-typedef enum {INPUT, CONV, DEPTH_TO_SPACE} DNNLayerType;
+typedef enum {INPUT, CONV, DEPTH_TO_SPACE, MIRROR_PAD} DNNLayerType;
typedef enum {RELU, TANH, SIGMOID, NONE, LEAKY_RELU} DNNActivationFunc;
OpenPOWER on IntegriCloud