jwfromm opened a new pull request #8867:
URL: https://github.com/apache/tvm/pull/8867


   A while back @mbrookhart and I implemented the `onnx_input` class to support 
accessing inputs by index or name. However, it turned out that onnx node names 
are inconsistent and shouldnt be used. Although all tests have been updated to 
access inputs only by index, the `onnx_input` class maintained support for 
names which could allow errors to slip in if used. This PR removes that 
capability. Instead `onnx_input` is now a simple wrapper around `list` that 
returns `None` when indices are out of range. This is useful since Onnx often 
does not provide inputs in lieu of using a None value.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to