[FFmpeg-devel] [PATCH 1/2] dnn: add layer pad which is equivalent to tf.pad

Guo, Yejun yejun.guo at intel.com
Mon Jul 1 11:17:52 EEST 2019



> -----Original Message-----
> From: Guo, Yejun
> Sent: Monday, July 01, 2019 4:08 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH 1/2] 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 at intel.com>

this patch set is based on a previous patch at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-June/245481.html 
(libavfilter/dnn: move dnn files from	libavfilter to libavfilter/dnn)

> ---
>  libavfilter/dnn/Makefile                       |   1 +
>  libavfilter/dnn/dnn_backend_native_layer_pad.c | 211
> +++++++++++++++++++++++++
>  libavfilter/dnn/dnn_backend_native_layer_pad.h |  40 +++++
>  3 files changed, 252 insertions(+)
>  create mode 100644 libavfilter/dnn/dnn_backend_native_layer_pad.c
>  create mode 100644 libavfilter/dnn/dnn_backend_native_layer_pad.h
> 



More information about the ffmpeg-devel mailing list