One: Compiler FE: Enable PRelu Op

Created on 26 May 2020  路  2Comments  路  Source: Samsung/ONE

TF OP: https://www.tensorflow.org/api_docs/python/tf/keras/layers/PReLU

  • [x] tflchef #1592
  • [x] luci.IR #1579
  • [x] luci.Import #1735
  • [x] luci.Export #1736
  • [x] luci.logex #1737
  • [x] luci.Service #1738
  • [x] res/TensorFlowPythonExamples #1783
  • [x] res/TensorFlowLiteRecipes #1583
  • [x] tflite2circle no changes necessary
  • [x] luci.tests #1798
  • [x] tfldump #1790
  • [x] circledump #1791

For #1167

Most helpful comment

Done!

All 2 comments

Slope in PRelu can be any shape broadcastable to the input shape.
e.g.
image
PRelu in tflite has no internal parameters and takes both arguments (input and alpha) as inputs.
See: externals/TENSORFLOW-2.2.0/tensorflow/lite/kernels/activations_test.cc

Done!

Was this page helpful?
0 / 5 - 0 ratings