8000 Adds missing datatype support for various tflite operations by swatheesh-mcw · Pull Request #74506 · tensorflow/tensorflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adds missing datatype support for various tflite operations #74506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Apr 28, 2025

Conversation

swatheesh-mcw
Copy link
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 <pratham.kumar@multicorewareinc.com>
* 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 <nithesh.srikanth@multicorewareinc.com>
* Tflite floor missing datatype support
-Adds f16,bf16 for floor
-Adds f16,bf16 for floor unit test

Co-authored-by: nitheshsrikanth-mcw <nithesh.srikanth@multicorewareinc.com>
* 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
Contributor

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

@amrinfathima-mcw
Copy link
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
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
Copy link
Contributor Author
swatheesh-mcw commented Aug 28, 2024

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
Contributor

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

3 similar comments
@keerthanakadiri
Copy link
Contributor

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

@keerthanakadiri
Copy link
Contributor

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

@keerthanakadiri
Copy link
Contributor

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

@grantjensen
Copy link
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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d46 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea1 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d46 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea1 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d46 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea1 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <pratham.kumar@multicorewareinc.com>
--
e108d4654398e7eb6eea17d38362001e0f36e054 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
18581a6cb30cfb0b66b01b5a4925cb7fb84a65cf by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <nithesh.srikanth@multicorewareinc.com>
--
e0aaea195d9a0927cbaddff9cc9e5953bc4d5b72 by swatheesh-mcw <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

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 <swatheesh.muralidharan@multicorewareinc.com>:

Addressed redefinition of TFLITE_TENSOR_TYPE_ASSOC error in test_util.h file

--
2ff70a8c0a6be4eabb5f6c49faabd98299afe918 by RahulSudarMCW <rahul.sundar@multicorewareinc.com>:

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
8 checks passed
@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
0