dnn: add layer pad which is equivalent to tf.pad
authorGuo, Yejun <yejun.guo@intel.com>
Mon, 29 Jul 2019 01:56:33 +0000 (09:56 +0800)
committerPedro Arthur <bygrandao@gmail.com>
Mon, 29 Jul 2019 15:34:19 +0000 (12:34 -0300)
commitdf8db345523f03b2163febe97a4cf07446b28230
tree026f761a5e4186094c0a71d336d279d1ed4a9295
parent630ea6b07f8852c21da3450fd979a8fd110b58dc
dnn: add layer pad which is equivalent to tf.pad

the reason to add this layer first is that vf_sr uses it in its
tensorflow model, and the next plan is to update the python script
to convert tf.pad into native model.

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
libavfilter/dnn/Makefile
libavfilter/dnn/dnn_backend_native_layer_pad.c [new file with mode: 0644]
libavfilter/dnn/dnn_backend_native_layer_pad.h [new file with mode: 0644]