aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/operation.py
diff options
context:
space:
mode:
authorerik.andersson@arm.com <erik.andersson@arm.com>2022-09-27 12:06:32 +0200
committertim.hall <tim.hall@arm.com>2022-10-03 14:22:47 +0000
commit61f05d92525447f62b9531b17297822b9232e8ab (patch)
tree09cf20904e84594d70977cf6bb67142ed874763b /ethosu/vela/operation.py
parent6ef02301ce36a0d2b72171926376d62d42bd348a (diff)
downloadethos-u-vela-61f05d92525447f62b9531b17297822b9232e8ab.tar.gz
MLBEDSW-6955: Update to TensorFlow 2.10
- Updated to TensorFlow 2.10 and FlatBuffers 2.0.7 - Changed absolute to relative imports in the auto-generated code - Updated Vela's TFLite writer to support FlatBuffer builder's internal number of elements count - Removed use of deprecated numElems argument to FlatBuffer builder's EndVector() Signed-off-by: erik.andersson@arm.com <erik.andersson@arm.com> Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: If447778134db81ae0ac374c7397e1140082372fd
Diffstat (limited to 'ethosu/vela/operation.py')
-rw-r--r--ethosu/vela/operation.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ethosu/vela/operation.py b/ethosu/vela/operation.py
index af2205cd..8b3c88d9 100644
--- a/ethosu/vela/operation.py
+++ b/ethosu/vela/operation.py
@@ -136,6 +136,7 @@ class Op(Enum):
ArgMax = OperatorInfo()
ArgMin = OperatorInfo()
AvgPool = OperatorInfo(block_type=NpuBlockType.Pooling, indices=NNG_IFM_INDICES)
+ Atan2 = OperatorInfo(indices=NNG_IFM_IFM2_INDICES)
BatchMatMul = OperatorInfo()
BatchToSpaceND = OperatorInfo()
BidirectionalSequenceLstm = OperatorInfo(block_type=NpuBlockType.VectorProduct, indices=NNG_IFM_WEIGHTS_INDICES)
@@ -265,6 +266,7 @@ class Op(Enum):
SelectV2 = OperatorInfo()
Shape = OperatorInfo(indices=NNG_IFM_INDICES)
Sigmoid = OperatorInfo(indices=NNG_IFM_INDICES)
+ Sign = OperatorInfo(indices=NNG_IFM_INDICES)
SignBit = OperatorInfo()
Sin = OperatorInfo()
SkipGram = OperatorInfo()
@@ -322,6 +324,9 @@ class Op(Enum):
Gelu = OperatorInfo()
DynamicUpdateSlice = OperatorInfo()
UnsortedSegmentProd = OperatorInfo()
+ UnsortedSegmentMax = OperatorInfo()
+ UnsortedSegmentMin = OperatorInfo()
+ UnsortedSegmentSum = OperatorInfo()
@property
def info(self):