Skip to content
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

PR #74506: Adds missing datatype support for various tflite operations #1145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

PR #74506: Adds missing datatype support for various tflite operations

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

Copy link

google-cla bot commented Mar 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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: 733452310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant