> From: Chris Miceli
> Sent: 2020年10月14日 6:15
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH] dnn_backend_tf.c: add option sess_config
> for tf backend
>
> Hi!
>
> With proto files they can be serialised
Hi!
With proto files they can be serialised to many different formats, is there
a reason for it to use hex? The reason I ask is that it's not trivially
readable for those debugging the command line. Perhaps something like json
is better?
Even if not using json, maybe a file is a little easier? In
TensorFlow C library accepts config for session options to
set different parameters for the inference. This patch exports
this interface.
The config is a serialized tensorflow.ConfigProto proto, so we need
two steps to use it:
1. generate the serialized proto with python (see script example below)