Commit Graph

30 Commits

Author SHA1 Message Date
Jae H. Yoo
f24d25d860 Rename kTfLiteActRelu1 to kTfLiteActReluN1To1
This CL renames `kTfLiteActRelu1` to `kTfLiteActReluN1To1` because it has minimum clipping at -1, not 0. Also, This CL finishes renaming because TFLite already uses `kTfLiteBuiltinReluN1To1`, `ActivationFunctionType_RELU_N1_TO_1` for this op.

PiperOrigin-RevId: 317589358
Change-Id: I2424104da45234346749b3921d563e9161e809cc
2020-06-21 21:32:44 -07:00
Sachin Joglekar
48baba71cf Adds support for half_pixel_centers in TFLite's resize nearest neighbor op.
PiperOrigin-RevId: 310035959
Change-Id: I83238d568e2b4ebe0d844847d72c274e89651faf
2020-05-05 15:47:46 -07:00
T.J. Alumbaugh
fcd00521ff Changes TFL BatchMatMul's inputs/options to be identical to TF versions.
PiperOrigin-RevId: 309404526
Change-Id: Ifa002930e016e51ad34f863c21671e7020549ed3
2020-05-01 07:36:51 -07:00
T.J. Alumbaugh
311792b005 TF Lite BatchMatMul supports ajoint_x, adjoint_y flags to match TF Matmul
PiperOrigin-RevId: 305239816
Change-Id: Iec1a1f3fdafa710fc1edf717aec61cab1873451d
2020-04-07 05:57:05 -07:00
David Rim
bb130adb39 Adds asymmetric quantized inputs for hybrid ops in future models.
PiperOrigin-RevId: 304559648
Change-Id: I8028ae6f65308c9b9fa928b8d755919af1faa7be
2020-04-03 00:31:28 -07:00
A. Unique TensorFlower
e8dbf1de1a Adds asymmetric quantized inputs for hybrid ops in future models.
PiperOrigin-RevId: 303262193
Change-Id: I13e2bddee0e9bf10af9d5911d004ca31be430401
2020-03-26 22:25:29 -07:00
David Rim
dbfc8c5b3d Adds asymmetric quantized inputs for hybrid ops in future models.
PiperOrigin-RevId: 303251343
Change-Id: I1bfd9f9ea99522a71308590e6ca39859ee858bd3
2020-03-26 20:48:29 -07:00
Kazuaki Ishizaki
e1cfaf9517 minor spelling tweaks 2020-03-06 20:39:20 +09:00
Sachin Joglekar
d855adfc5a Adds support for half_pixel_centers in TFLite's resize op.
PiperOrigin-RevId: 291256449
Change-Id: Ied0a676cc9afc04ee8a9557f8e3934d82d528c2a
2020-01-23 15:32:39 -08:00
Juhyun Lee
aad7ef455a Add comments to TfLiteConvParams to indicate what's supported in v1 vs v2.
PiperOrigin-RevId: 284001572
Change-Id: Iee505945669c71eaf5556fd3793d2504dd562f98
2019-12-05 10:27:10 -08:00
Jared Duke
4ce6a9b7a4 Rename lite/c/c_api_internal.h to lite/c/common.h
The C types in lite/c/c_api_internal.h are not actually internal,
rather, they are common types used throughout the C++ and C APIs.
Rename the header accordingly.

PiperOrigin-RevId: 282494601
Change-Id: Ia784f35724d774db256ffcbbcdc5bb00e6574417
2019-11-25 21:49:25 -08:00
Advait Jain
c1e2748d22 Sanitize micro test with ubsan.
PiperOrigin-RevId: 281550281
Change-Id: I4e760e348f68502add937aae37bc5b57813ae4a9
2019-11-20 13:19:52 -08:00
Yu-Cheng Ling
d1e7c13f43 Ignore depthwise_multiplier in DepthwisConv CPU kernel.
PiperOrigin-RevId: 278939670
Change-Id: If88fbd4e342055bd47c9a5d22001443f283235da
2019-11-06 14:45:41 -08:00
Taehee Jeong
d02cf08fd1 Add comment for fused activation.
PiperOrigin-RevId: 276255508
Change-Id: Ia5ae76c26eecdfae23246b549e1979b9d4f68ac8
2019-10-23 05:26:38 -07:00
Jared Duke
9450ae9e09 Add depth_to_space TFLite op
PiperOrigin-RevId: 263850365
2019-08-16 14:59:25 -07:00
Yu-Cheng Ling
eedf79ed37 Graduate TFLite control flow ops from experimental to builtin
PiperOrigin-RevId: 259150573
2019-07-20 15:51:38 -07:00
A. Unique TensorFlower
3a1cec2795 Add a parameter to allow the number of dimensions to be preserved in the FC Op.
PiperOrigin-RevId: 249903839
2019-05-24 14:57:53 -07:00
Renjie Liu
5e52b70188 Optimize transpose_conv
PiperOrigin-RevId: 243561442
2019-04-15 00:07:34 -07:00
Jared Duke
8748972822 Fix several TFLite compiler warnings
PiperOrigin-RevId: 241432224
2019-04-01 17:22:26 -07:00
A. Unique TensorFlower
eae92e9d58 Implement MatrixSetDiag and Eye
PiperOrigin-RevId: 239662752
2019-03-21 13:46:55 -07:00
A. Unique TensorFlower
d79bb04e2a Implement Matrix Diag
PiperOrigin-RevId: 239061891
2019-03-18 15:07:14 -07:00
Lu Wang
2ae06ca491 Implement Reverse_Sequence.
PiperOrigin-RevId: 235309643
2019-02-22 22:10:21 -08:00
A. Unique TensorFlower
b23578d605 Implement Rank.
PiperOrigin-RevId: 234068627
2019-02-14 18:53:51 -08:00
Jared Duke
1814e22d3c Fix some empty struct build warnings in TFLite
PiperOrigin-RevId: 227940304
2019-01-04 17:56:47 -08:00
Karim Nosir
daf0985028 Add Unique op to the schema.
PiperOrigin-RevId: 226930132
2018-12-26 10:20:32 -08:00
A. Unique TensorFlower
700f5ba6e8 Add support for batch_major inputs for the bidi-LSTM
PiperOrigin-RevId: 226051559
2018-12-18 13:47:05 -08:00
A. Unique TensorFlower
454fd39652 Implement SplitV.
PiperOrigin-RevId: 223287758
2018-11-28 21:41:00 -08:00
Karim Nosir
afca703007 Add MirrorPad op to the schema.
PiperOrigin-RevId: 222332230
2018-11-20 17:26:58 -08:00
Jared Duke
5c85435208 Add LeakyRelu to the op schema
PiperOrigin-RevId: 221668946
2018-11-15 12:58:46 -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