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 2022/09/10 02:57:38 UTC

[GitHub] [tvm] apivovarov opened a new pull request, #12751: [TF] Add Bincount support

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi merged pull request #12751: [TF] Add Bincount support

Posted by GitBox <gi...@apache.org>.
masahi merged PR #12751:
URL: https://github.com/apache/tvm/pull/12751


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org