apivovarov opened a new pull request, #12751:
URL: https://github.com/apache/tvm/pull/12751

   ### Description
   This PR adds TF 
[Bincount](https://www.tensorflow.org/api_docs/python/tf/raw_ops/Bincount) 
support. 
   
   Recently [DenseBincount support](https://github.com/apache/tvm/pull/12728) 
was added. Both `raw_ops.Bincount` and `raw_ops.DenseBincount` are used by 
`tf.math.bincount()` . One or another raw_op is used depending on the 
`tf.math.bincount()` parameters.
   
   #### Limitations:
   - Requires `relay.vm.compile` because internal data structures shapes depend 
on the input data content.
   
   #### Known issues:
   - Input array should not contain numbers outside of the range `[0, size-1]`. 
TVM `scatter_add` counts such values, but TF `DenseBincount` ignores them.
   - using tf.math.bincount with weights and axis=None need operator 
`UnsortedSegmentSum` to be implemented.
   


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