leandron commented on a change in pull request #7400:
URL: https://github.com/apache/tvm/pull/7400#discussion_r573844512
##########
File path: python/tvm/driver/tvmc/frontends.py
##########
@@ -241,43 +241,10 @@ def load(self, path, shape_dict=None):
if version != 3:
raise TVMCException("input file not tflite version 3")
- logger.debug("tflite_input_type")
- input_shapes, dtype_dict = TFLiteFrontend._input_type(tflite_model)
- if shape_dict is not None:
- input_shapes.update(shape_dict)
-
logger.debug("parse TFLite model and convert into Relay computation
graph")
- mod, params = relay.frontend.from_tflite(
- tflite_model, shape_dict=input_shapes, dtype_dict=dtype_dict
- )
+ mod, params = relay.frontend.from_tflite(tflite_model)
Review comment:
is the `from_tflite()` now duplicated? (I just looked quickly, might be
wrong)
----------------------------------------------------------------
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]