Tflite-support

Latest version: v0.4.4

Safety actively analyzes 626604 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.4.0

Verified TFLite Model Maker version

[TFLite Model Maker](https://www.tensorflow.org/lite/guide/model_maker) 0.2.4

0.4.3

Changes

- Added the ImageSearcher iOS API. It’s available via the TensorFlowLiteVision pod on CocoaPods.
- Upgraded TensorFlow Lite version from 2.9 to 2.10.

Fixes

- Fixed the “image_utils has no attribute 'ImageDataFree'” error occurred when using the Task Library Python API.

0.4.2

Changes

- Added a new task `BertCLUAnnotator`. It’s available on Java, Python and C++.
- Added these Natural Language Processing tasks’ Python APIs: `NLClassifier`, `BertNLClassifier`, `BertQuestionAnswerer`.
- Added the AudioClassifier iOS API. It’s available via the new TensorFlowLiteAudio pod on CocoaPods.

Fixes

- Fixed “TypeError: create_from_options(): incompatible function arguments.” error when using the Task Library Python API without the tensorflow pip package installed.
- Fixed the num_thread option not being applied on Task Library iOS API.

0.4.1

Changes

- Migrated a number of Python APIs to use Dataclasses instead of Protobuf for custom configuration
- Renamed some Swift methods to better aligned with Swift naming conventions
- Updated TFLite dependency to 2.9

Fixes

- `libportaudio` is now only required for audio tasks. The Python library can be installed without this dependency.

0.4.0

Major features

- Added support for on-device image and text search in Task Library. See the documentation of [ImageSearcher](https://www.tensorflow.org/lite/inference_with_metadata/task_library/image_searcher) and [TextSearcher](https://www.tensorflow.org/lite/inference_with_metadata/task_library/text_searcher).
- Added Python API for all Task Library Vision / NLP / Audio tasks. See the `Run inference in Python` section of [each task](https://www.tensorflow.org/lite/inference_with_metadata/task_library/overview#supported_tasks) in Task Library’s documentation for more details.
- Supported building the TensorFlow Lite Support Pypi package on Raspberry Pi and Coral.
- Added Object-C API for Task Library Vision tasks. Note that the Object-C NLP API already exists. See the `Run inference in Swift` section of each task in Task Library’s documentation for more details.
- Added support for CoreML delegate in Task Library C++ API.

Fixes
- Fixed an offset bug in Java TensorAudio when loading `short[]` audio buffers.

0.3.1

Major features

- Add scripts to build TFLite Support Python wheels for ARM systems, i.e. Raspberry Pi.
- Add method to export the "final" metadata string in MetadataWriter.
- Throw RuntimeExceptions instead of AssertionError on native errors in Task Java Library.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.