Skip to content

Adds missing datatype support for various tflite operations - #74506

Merged
copybara-service[bot] merged 16 commits into
tensorflow:masterfrom
MCW-Dev:master
Apr 28, 2025
Merged

copybara-service[bot] merged 16 commits into
tensorflow:masterfrom
MCW-Dev:master

Conversation

@swatheesh-mcw

Copy link
Copy Markdown
Contributor
  • Adds bf16, f16 support for tfl.atan2
  • Adds bf16,f16,int8,int16 for tfl.neg
  • Adds bf16, f16 support for tfl.min, tfl.max
  • Adds bf16, f16 support for tfl.slice
  • Adds bf16, f16 support for tfl.round
  • Adds bf16, f16 support for tfl.reverse
  • Adds bf16, f16 support for tfl.pad
  • Adds bf16, f16 support for tfl.tanh and tfl.logistic
  • Adds bf16, f16 support for tfl.floor

pratham-mcw and others added 11 commits July 30, 2024 18:12
* TfLite Atan2 missing datatype support

 -Adds bf16, f16 support for atan2
 -Adds bf16, f16 atan2 unit tests
-Adds bf16, f16 support for pad
-Adds bf16, f16 pad unit tests
* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
@google-ml-butler google-ml-butler Bot added the size:XL CL Change Size:Extra Large label Aug 26, 2024
@google-ml-butler google-ml-butler Bot added the awaiting review Pull request awaiting review label Aug 27, 2024
@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @swatheesh-mcw, Can you please resolve the conflicts? Thank you!

@amrinfathima-mcw

Copy link
Copy Markdown
Contributor

Hi @swatheesh-mcw, Can you please resolve the conflicts? Thank you!
Hi @keerthanakadiri, the merge conflict has been resolved but we also noticed that the TFLITE_TENSOR_TYPE_ASSOC(Eigen::bfloat16, TensorType_BFLOAT16); has been added in tensorflow/lite/kernels/test_util.h twice, in lines 1175 and 1171, should we create a new commit from our master addressing this issue?

@keerthanakadiri
keerthanakadiri requested review from grantjensen and removed request for grantjensen August 28, 2024 05:51
@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @@swatheesh-mcw , could please assist on this comment

Hi @swatheesh-mcw, Can you please resolve the conflicts? Thank you!
Hi @keerthanakadiri, the merge conflict has been resolved but we also noticed that the TFLITE_TENSOR_TYPE_ASSOC(Eigen::bfloat16, TensorType_BFLOAT16); has been added in tensorflow/lite/kernels/test_util.h twice, in lines 1175 and 1171, should we create a new commit from our master addressing this issue?

Hi @swatheesh-mcw , Could you please assist with this comment from @amrinfathima-mcw .Thank you !

@swatheesh-mcw

swatheesh-mcw commented Aug 28, 2024 •

Copy link
Copy Markdown
Contributor Author

Hi @swatheesh-mcw , Could you please assist with this comment from @amrinfathima-mcw .Thank you !

Hi @keerthanakadiri, we have resolved the merge conflict in floor_test.cc file. We also noticed that during merging few of our branches together into our master branch, TFLITE_TENSOR_TYPE_ASSOC(Eigen::bfloat16, TensorType_BFLOAT16); line has been added twice in line 1171 and 1175 in tensorflow/lite/kernels/test_util.h file. Can we resolve this issue by removing one of the lines and create a new commit in the same pull request for your review? Sorry we just noticed it after creating the pull request. Thanks!

@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @talumbau , Can you please review this PR? Thank you !

3 similar comments
@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @talumbau , Can you please review this PR? Thank you !

@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @talumbau , Can you please review this PR? Thank you !

@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @talumbau , Can you please review this PR? Thank you !

@grantjensen

Copy link
Copy Markdown
Contributor

Hi, I am not familiar enough with tflite CPU kernels to provide valuable feedback here.

@keerthanakadiri keerthanakadiri removed the awaiting review Pull request awaiting review label Mar 19, 2025
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Mar 19, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 733159487
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Mar 19, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 733159487
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Mar 19, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 733159487
@keerthanakadiri keerthanakadiri added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Mar 25, 2025
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Mar 25, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 740217796
@keerthanakadiri keerthanakadiri added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Apr 3, 2025
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 3, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 743393436
@keerthanakadiri keerthanakadiri added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Apr 21, 2025
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 21, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 749746719
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 24, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit that referenced this pull request Apr 24, 2025
Imported from GitHub PR #74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d46 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6 by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea1 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=#74506 from MCW-Dev:master 2ff70a8
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 26, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit that referenced this pull request Apr 26, 2025
Imported from GitHub PR #74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d46 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6 by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea1 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=#74506 from MCW-Dev:master 2ff70a8
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 28, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit that referenced this pull request Apr 28, 2025
Imported from GitHub PR #74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d46 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6 by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea1 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=#74506 from MCW-Dev:master 2ff70a8
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 28, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#74506 from MCW-Dev:master 2ff70a8c0a6be4eabb5f6c49faabd98299afe918
PiperOrigin-RevId: 750807771
copybara-service Bot pushed a commit to google-ai-edge/LiteRT that referenced this pull request Apr 28, 2025
Imported from GitHub PR tensorflow/tensorflow#74506

- Adds bf16, f16 support for tfl.atan2
- Adds bf16,f16,int8,int16 for tfl.neg
- Adds bf16, f16 support for tfl.min, tfl.max
- Adds bf16, f16 support for tfl.slice
- Adds bf16, f16 support for tfl.round
- Adds bf16, f16 support for tfl.reverse
- Adds bf16, f16 support for tfl.pad
- Adds bf16, f16 support for tfl.tanh and tfl.logistic
- Adds bf16, f16 support for tfl.floor
Copybara import of the project:

--
775ae2b6aec166a107f41070cad1ed9bea25b696 by swatheesh-mcw <[email protected]>:

TfLite neg_op add type support (#77)

* TfLite neg_op add type support
 -Adds type support for bfloat16
 -Adds type supoort for float16
 -Adds type support for Int8
 -Adds type support for Int16

Co-authored-by: pratham-mcw <[email protected]>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <[email protected]>:

Tflite tanh and logistic adds missing datatype support (#76)

* Tflite tanh and logistic adds missing datatype support
-Adds f16,bf16 for tanh and logistic
-Adds f16,bf16 for tanh and logistic unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <[email protected]>:

Tflite floor adds missing datatype support (#75)

* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <[email protected]>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <[email protected]>:

TfLite Slice missing datatype support (#33) (#74)

* TfLite Slice missing datatype support

-Adds bf16, f16 support for slice
-Adds bf16, f16 slice unit tests
--
458c6a4063c9b7c345d5cf68240e1f0a8f3ba277 by swatheesh-mcw <[email protected]>:

TfLite Round missing datatype support (#32) (#73)

* TfLite Round missing datatype support

-Adds bf16, f16 support for round
-Adds bf16, f16 round unit tests
--
5c6def1d96f7f60dac83501870670ba63308b983 by swatheesh-mcw <[email protected]>:

Tflite min max missing datatypes support (#38) (#72)

-Adds bf16,f16 for tflite min max operations
-Adds bf16,f16 min max unit tests
--
baea4f1b7c53d1bb4f31ccdac5fcb1e75143c8b9 by swatheesh-mcw <[email protected]>:

TfLite Reverse missing datatype support (#31) (#71)

* TfLite Reverse missing datatype support

 -Adds bf16, f16 support for reverse
 -Adds bf16, f16 reverse unit tests
--
96ccf49a5534f3462f29572a492ec3ecb360d7a0 by Swatheesh Muralidharan <[email protected]>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <[email protected]>:

Include non-quantized int8 & int16 type support for tfl.pad

Merging this change closes #74506

PiperOrigin-RevId: 752159083
@copybara-service
copybara-service Bot merged commit 64e6341 into tensorflow:master Apr 28, 2025
@github-project-automation github-project-automation Bot moved this from Approved by Reviewer to Closed/Rejected in PR Queue Apr 28, 2025
@github-project-automation github-project-automation Bot moved this from Closed/Rejected to Merged in PR Queue Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:lite TF Lite related issues ready to pull PR ready for merge process size:XL CL Change Size:Extra Large

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

10 participants