masahi commented on a change in pull request #5073: [Relay][Frontend][ONNX] operator support NonZero URL: https://github.com/apache/incubator-tvm/pull/5073#discussion_r393390492
########## File path: tests/python/frontend/onnx/test_forward.py ########## @@ -30,6 +30,30 @@ import scipy +def get_tvm_output_with_vm(graph_def, input_data, target, ctx, + opset=None, mode=None): + """ Generic function to execute and get tvm output with vm executor""" + if isinstance(input_data, list): Review comment: This if/else is dup from get_tvm_output, move it to a common function ---------------------------------------------------------------- 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
