Commit Graph

16 Commits

Author SHA1 Message Date
Jared Duke
2a85bf4a14 Fix minimal logging build for macos
PiperOrigin-RevId: 315321111
Change-Id: I205b82403e663bc415156cbe7e1d82e3b8866e93
2020-06-08 12:13:51 -07:00
TensorFlower Gardener
364426eb4c Merge pull request from kiszk:spelling_tweaks_lite_others
PiperOrigin-RevId: 302064822
Change-Id: I1c6263777ceee5765b05cd41501dea850a6676c9
2020-03-20 11:31:10 -07:00
Yunlu Li
b65b240474 Update sparse_tensor model.
PiperOrigin-RevId: 301879775
Change-Id: I5a82a592f80f2af6624328a3596f27cf9a8c9959
2020-03-19 13:11:11 -07:00
Kazuaki Ishizaki
50ae62b65a minor spelling tweaks 2020-03-19 02:33:15 +09:00
Haoliang Zhang
30f3741ddf Export min_runtime_version in MLIR converter
This change fixes the issue for missing min_runtime_version in flatbuffers exported by MLIR converter. Specifically:

*Export `min_runtime_version` in metadata of flatbuffer (fixed-length byte array).

*Update all related mlir tests to have metadata.

PiperOrigin-RevId: 299894972
Change-Id: Ic79f3ab05b593882362f5baf62493861961acbe3
2020-03-09 12:02:29 -07:00
Yunlu Li
242334d4fc Add proper error handling in ParseSparsity().
PiperOrigin-RevId: 297417940
Change-Id: I7c5e6cc647aff964185b301735019eb6bc4eced4
2020-02-26 12:14:08 -08:00
Terry Heo
b37904edb5 Add check for correct memory alignment to MemoryAllocation::MemoryAllocation() on 32-bit ARM
This will give a reasonable error message at model build time, rather than a SIGBUS later.

PiperOrigin-RevId: 290002381
Change-Id: I4126c4bcfdcee3c7e962a838ff4838e5c59d48f6
2020-01-15 22:24:56 -08:00
Yunlu Li
85a46fbf52 Sparse tensor definition in TFLite.
PiperOrigin-RevId: 283994681
Change-Id: Ie9ddfa9c044a3b347a9e9ecf01b69516fbf9493a
2019-12-05 09:56:53 -08:00
A. Unique TensorFlower
0f85db356d Sparse tensor definition in TFLite.
PiperOrigin-RevId: 283886690
Change-Id: I66789d53ac2c7bdd85762cec14ec95748d0259f2
2019-12-04 19:16:56 -08:00
Yunlu Li
4c1ad6329a Sparse tensor definition in TFLite.
PiperOrigin-RevId: 283857867
Change-Id: If52f0176910801681a65b74ef87e9a1956ce7b71
2019-12-04 16:18:13 -08:00
A. Unique TensorFlower
aed9360781 Automated rollback of commit 8412e49202
PiperOrigin-RevId: 262603945
2019-08-09 12:15:50 -07:00
A. Unique TensorFlower
8412e49202 Add check for correct memory alignment to MemoryAllocation::MemoryAllocation() on 32-bit arm. This will give a reasonable error message at model build time, rather than a SIGBUS later.
PiperOrigin-RevId: 262385650
2019-08-08 10:46:48 -07:00
Haoliang Zhang
a3bdb597ca Export model's minimum required runtime string into flatbuffer's metadata field. Also add a method in FlatBufferModel to parse the runtime string.
PiperOrigin-RevId: 261418624
2019-08-02 18:12:27 -07:00
Amit
e4327587c6
Updated model_test.cc
Fixed Typo error
2019-02-24 16:08:37 +05:30
Yu-Cheng Ling
db9bb4a8c2 Be able to parse multiple subgraphs from TFLite models.
PiperOrigin-RevId: 231873030
2019-01-31 17:36:24 -08:00
Austin Anderson
61c6c84964 Migrate TensorFlow Lite out of tensorflow/contrib
This change moves //tensorflow/contrib/lite to //tensorflow/lite in preparation
for TensorFlow 2.0's deprecation of contrib/. If you refer to TF Lite build
targets or headers, you will need to update them manually. If you use TF Lite
from the TensorFlow python package, "tf.contrib.lite" now points to "tf.lite".
Please update your imports as soon as possible.

For more details, see https://groups.google.com/a/tensorflow.org/forum/#!topic/tflite/iIIXOTOFvwQ

@angersson and @aselle are conducting this migration. Please contact them if
you have any further questions.

PiperOrigin-RevId: 219536476
2018-10-31 14:20:28 -07:00