aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/toco/model.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-09 20:05:22 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-09 20:08:54 -0700
commit854ae599743a1e92a31ad49cfe42c6454cefd3b9 (patch)
tree1ff75695f61c5eb3353e739295e81f76bbe28a64 /tensorflow/contrib/lite/toco/model.h
parent58fcfc98cd59ae3952399fc55380b8733df08df9 (diff)
Use Ophints to support TfLite UnidirectionaSequenceLstm and add an e2e test.
Support peephole and num_proj as well. PiperOrigin-RevId: 216467578
Diffstat (limited to 'tensorflow/contrib/lite/toco/model.h')
-rw-r--r--tensorflow/contrib/lite/toco/model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/toco/model.h b/tensorflow/contrib/lite/toco/model.h
index 61f1f095e9..f3b84430db 100644
--- a/tensorflow/contrib/lite/toco/model.h
+++ b/tensorflow/contrib/lite/toco/model.h
@@ -58,6 +58,7 @@ enum class OperatorType : uint8 {
kL2Normalization,
kL2Pool,
kLstmCell,
+ kUnidirectionalSequenceLstm,
kLocalResponseNormalization,
kLog,
kLogistic,
@@ -635,6 +636,11 @@ struct LstmCellOperator : Operator {
KernelType kernel_type;
};
+struct UnidirectionalSequenceLstmOperator : Operator {
+ UnidirectionalSequenceLstmOperator()
+ : Operator(OperatorType::kUnidirectionalSequenceLstm) {}
+};
+
// Element-wise multiplication operator.
//
// Inputs: