Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix formating problems
  • Loading branch information
tlopex authored Sep 20, 2023
commit bee2eaea754975dc4ed22f04d2bf26fdd44e9c1e
6 changes: 4 additions & 2 deletions python/tvm/relay/frontend/tflite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,9 @@ def convert_minimum(self, op):

def convert_greater(self, op):
"""Convert TFLite GREATER"""
return self._convert_elemwise(_op.greater, op, self.is_quantized(op), comparison_op=True)
return self._convert_elemwise(
_op.greater_equal, op, self.is_quantized(op), comparison_op=True
)

def convert_squared_difference(self, op):
"""Convert TFLite SQUARED DIFFERENCE"""
Expand All @@ -1472,7 +1474,7 @@ def convert_squared_difference(self, op):
out = _op.power(difference, relay.const(2, exp_type))
return out

def convert_greater_equal(self, op):
def convert_(self, op):
"""Convert TFLite GREATER_EQUAL"""
return self._convert_elemwise(_op.greater_equal, op, self.is_quantized(op), comparison_op=True)

Expand Down