## Motivation
In order to enrich the support of TF operator and the need of practical work, 
we add 15 operators to TVM.
as follows:
        * Expm1, Rint, Softsign, Cumprod, Cumsum
        * SegmentMax, SegmentMin, SegmentMean, SegmentPord, SegmentSum
        * UnsortedSegmentMax, UnsortedSegmentMin, UnsortedSegmentMean
        * UnsortedSegmentPord, UnsortedSegmentSum

## Implementation Details

1. **Expm1**    
[https://tensorflow.google.cn/api_docs/python/tf/math/expm1](https://tensorflow.google.cn/api_docs/python/tf/math/expm1)
    ![image|332x42](upload://7I872nvba07PpiooI5nXDLDkZEO.png) 
2. **Softsign**    
[https://tensorflow.google.cn/api_docs/python/tf/nn/softsign](https://tensorflow.google.cn/api_docs/python/tf/nn/softsign)
    ![image|245x78](upload://j7of3JmLsuPLF6Xu6uN5LZzlVgU.png) 
3. **Rint**    
[https://tensorflow.google.cn/api_docs/python/tf/math/rint](https://tensorflow.google.cn/api_docs/python/tf/math/rint)
4. **Cumprod**    
[https://tensorflow.google.cn/api_docs/python/tf/math/cumprod](https://tensorflow.google.cn/api_docs/python/tf/math/cumprod)
5. **Cumsum**    
[https://tensorflow.google.cn/api_docs/python/tf/math/cumsum](https://tensorflow.google.cn/api_docs/python/tf/math/cumsum)
6. **SegmentMax**    
[https://tensorflow.google.cn/api_docs/python/tf/math/segment_max](https://tensorflow.google.cn/api_docs/python/tf/math/segment_max)
7. **SegmentMin**    
[https://tensorflow.google.cn/api_docs/python/tf/math/segment_min](https://tensorflow.google.cn/api_docs/python/tf/math/segment_min)
8. **SegmentMean**    
[https://tensorflow.google.cn/api_docs/python/tf/math/segment_mean](https://tensorflow.google.cn/api_docs/python/tf/math/segment_mean)
9. **SegmentPord**    
[https://tensorflow.google.cn/api_docs/python/tf/math/segment_prod](https://tensorflow.google.cn/api_docs/python/tf/math/segment_prod)
10. **SegmentSum**    
[https://tensorflow.google.cn/api_docs/python/tf/math/segment_sum](https://tensorflow.google.cn/api_docs/python/tf/math/segment_sum)
11. **UnsortedSegmentMax**    
[https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_max](https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_max)
12. **UnsortedSegmentMin**    
[https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_min](https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_min)
13. **UnsortedSegmentMean**    
[https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_mean](https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_mean)
14. **UnsortedSegmentProd**    
[https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_prod](https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_prod)
15. **UnsortedSegmentSum**    
[https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_sum](https://tensorflow.google.cn/api_docs/python/tf/math/unsorted_segment_sum)
 
In TF frontend, exmp1 composed by exp and subtraction. Softsign composed by abs 
and divide. Rint replaced by round.
We provide a new implementation for Cumsum, Cumprod, SegmentMax, SegmentMin, 
SegmentMean, SegmentProd, and SegmentSum operators. For the UnsortedSegment 
operators, they share a set of implementation with Segment operators. The 
conversion is completed in TF frontend.

@Huyuwei @hlu1 @kazum @siju-samuel @FrozenGene





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/add-some-new-tensorflow-ops/8217/1) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/4b587271f7819985ea9aea261def6720bb9d668071ef6e3e4595c3cd13ff013b).

Reply via email to