summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWenlong Ding <wenlong.ding@intel.com>2021-03-22 16:20:11 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-03-24 13:53:50 +0800
commitb460595dd7b831a07cdd3e59ad726d99db4ba557 (patch)
tree8363752930243633e2d767bf8ae875ece9a73398 /tools
parentdfad5794fb4f246f6b137da8160dd070482bb9cc (diff)
lavfi/dnn/dnn_backend_native_layer_mathunary: add exp support
Signed-off-by: Wenlong Ding <wenlong.ding@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/convert_from_tensorflow.py3
-rw-r--r--tools/python/convert_header.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/python/convert_from_tensorflow.py b/tools/python/convert_from_tensorflow.py
index 1a5d93fbb7..38e64c1c94 100644
--- a/tools/python/convert_from_tensorflow.py
+++ b/tools/python/convert_from_tensorflow.py
@@ -78,7 +78,8 @@ class TFConverter:
self.mathbin2code = {'Sub':0, 'Add':1, 'Mul':2, 'RealDiv':3, 'Minimum':4, 'FloorMod':5}
self.mathun2code = {'Abs':0, 'Sin':1, 'Cos':2, 'Tan':3, 'Asin':4,
'Acos':5, 'Atan':6, 'Sinh':7, 'Cosh':8, 'Tanh':9, 'Asinh':10,
- 'Acosh':11, 'Atanh':12, 'Ceil':13, 'Floor':14, 'Round':15}
+ 'Acosh':11, 'Atanh':12, 'Ceil':13, 'Floor':14, 'Round':15,
+ 'Exp':16}
self.mirrorpad_mode = {'CONSTANT':0, 'REFLECT':1, 'SYMMETRIC':2}
self.name_operand_dict = {}
diff --git a/tools/python/convert_header.py b/tools/python/convert_header.py
index 782a6341f9..143f92c42e 100644
--- a/tools/python/convert_header.py
+++ b/tools/python/convert_header.py
@@ -23,4 +23,4 @@ str = 'FFMPEGDNNNATIVE'
major = 1
# increase minor when we don't have to re-convert the model file
-minor = 22
+minor = 23