siju-samuel commented on a change in pull request #4978: [TFLITE]Activation
functions support
URL: https://github.com/apache/incubator-tvm/pull/4978#discussion_r390719573
##########
File path: python/tvm/relay/frontend/tflite.py
##########
@@ -62,70 +62,72 @@ def __init__(self, model, subgraph, exp_tab):
# Add more operators
self.convert_map = {
'ABS': self.convert_abs,
+ 'ADD': self.convert_add,
+ 'AVERAGE_POOL_2D': self.convert_average_pool2d,
+ 'BATCH_TO_SPACE_ND': self.convert_batch_to_space_nd,
+ 'CAST': self.convert_cast,
+ 'CEIL': self.convert_ceil,
+ 'CONCATENATION': self.convert_concatenation,
+ 'CONV_2D': self.convert_conv2d,
+ 'COS': self.convert_cos,
+ 'DEPTHWISE_CONV_2D': self.convert_depthwise_conv2d,
+ 'DETECTION_POSTPROCESS': self.convert_detection_postprocess,
+ 'DIV': self.convert_div,
+ 'ELU': self.convert_elu,
+ 'EQUAL': self.convert_equal,
Review comment:
@FrozenGene Yes. its better to be in alphabetical order like TF. And it
reduces the conflicts while merging PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services