You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/24 01:32:13 UTC

[GitHub] [incubator-tvm] alexbooth edited a comment on pull request #6118: Add 'get_num_inputs' to GraphRuntime

alexbooth edited a comment on pull request #6118:
URL: https://github.com/apache/incubator-tvm/pull/6118#issuecomment-663309975


   > The number contains both inputs and weights. Is that what you want?
   
   Yes, not just the input data but potential input weights as well. I want the length of "arg_nodes" from the graph json.  
   For outputs we can easily iterate over tensors with `get_num_outputs()` api and the `get_output(index)` function. This change allows the same for the existing `get_input(index)` 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:
users@infra.apache.org