From f436ada9caea87ec2dd686a92e41a15c1dcdeb1d Mon Sep 17 00:00:00 2001 From: Patrik Gustavsson Date: Tue, 14 Sep 2021 14:56:48 +0200 Subject: TOSA: Support for TABLE operator (int8) Added support to map TABLE operator to LUT. Limitations: -Only supported for int8 -TABLE input must be constant This also adds the support for TFLite legalisation of Tanh/Sigmoid (int8/uint8). Signed-off-by: Patrik Gustavsson Change-Id: I1a95f61fb02fdd42c4a690494418cc0765c8b275 --- ethosu/vela/operation.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ethosu/vela/operation.py') diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py index e9d364ea..1558b943 100644 --- a/ethosu/vela/operation.py +++ b/ethosu/vela/operation.py @@ -281,6 +281,7 @@ class Op(Enum): SubgraphInput = OperatorInfo() # Only used in CPU subgraphs Sum = OperatorInfo() Svdf = OperatorInfo() + Table = OperatorInfo(indices=NNG_IFM_INDICES) Tanh = OperatorInfo(indices=NNG_IFM_INDICES) Tile = OperatorInfo() TopKV2 = OperatorInfo() -- cgit v1.2.1