Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
libtf: Finalize new supported ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwagyeman committed Jan 25, 2024
1 parent 5492672 commit da1ffe8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions libtf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ extern "C" {
typedef void (*libtf_resolver_init_t) (tflite::MicroMutableOpResolver<LIBTF_MAX_OPS> &);

static void libtf_reduced_ops_init_op_resolver(tflite::MicroMutableOpResolver<LIBTF_MAX_OPS> &resolver) {
// resolver.AddAbs();
resolver.AddAbs();
resolver.AddAdd();
resolver.AddAddN();
// resolver.AddArgMax();
Expand All @@ -80,15 +80,15 @@ extern "C" {
resolver.AddConv2D();
// resolver.AddCos();
resolver.AddDepthwiseConv2D();
// resolver.AddDequantize();
resolver.AddDequantize();
// resolver.AddDetectionPostprocess();
// resolver.AddDiv();
// resolver.AddElu();
// resolver.AddEqual();
// resolver.AddEthosU();
// resolver.AddExp();
// resolver.AddExpandDims();
// resolver.AddFloor();
resolver.AddFloor();
resolver.AddFullyConnected();
// resolver.AddGather();
// resolver.AddGreater();
Expand All @@ -98,25 +98,25 @@ extern "C" {
// resolver.AddL2Normalization();
// resolver.AddL2Pool2D();
resolver.AddLeakyRelu();
// resolver.AddLess();
resolver.AddLess();
// resolver.AddLessEqual();
// resolver.AddLog();
// resolver.AddLogicalAnd();
// resolver.AddLogicalNot();
// resolver.AddLogicalOr();
resolver.AddLogistic();
resolver.AddMaxPool2D();
// resolver.AddMaximum();
resolver.AddMaximum();
resolver.AddMean();
// resolver.AddMinimum();
// resolver.AddMul();
resolver.AddMinimum();
resolver.AddMul();
// resolver.AddNeg();
// resolver.AddNotEqual();
// resolver.AddPack();
resolver.AddNotEqual();
resolver.AddPack();
resolver.AddPad();
// resolver.AddPadV2();
// resolver.AddPrelu();
// resolver.AddQuantize();
resolver.AddQuantize();
// resolver.AddReal();
// resolver.AddReduceMax();
// resolver.AddReduceMin();
Expand All @@ -136,7 +136,7 @@ extern "C" {
// resolver.AddSpaceToBatchNd();
// resolver.AddSplit();
// resolver.AddSplitV();
// resolver.AddSqrt();
resolver.AddSqrt();
// resolver.AddSquare();
// resolver.AddSquaredDifference(); - Doesn't compile in OpenMV Cam firmware
// resolver.AddSqueeze();
Expand All @@ -147,7 +147,7 @@ extern "C" {
resolver.AddTanh();
// resolver.AddTranspose(); - Doesn't compile in OpenMV Cam firmware
// resolver.AddTransposeConv();
// resolver.AddUnpack();
resolver.AddUnpack();
// resolver.AddZerosLike();
}

Expand Down
Binary file modified libtf/cortex-m0plus/libtf.a
Binary file not shown.
Binary file modified libtf/cortex-m4/libtf.a
Binary file not shown.
Binary file modified libtf/cortex-m55/libtf.a
Binary file not shown.
Binary file modified libtf/cortex-m7/libtf.a
Binary file not shown.

0 comments on commit da1ffe8

Please sign in to comment.