aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc
diff options
context:
space:
mode:
authorGravatar Yu-Cheng Ling <ycling@google.com>2018-03-22 11:25:49 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-22 11:29:59 -0700
commit7c4cdb8bae0e8760ebe4793d49ea5aee68768655 (patch)
treed3adb4214eecc995845adf5d4f32331b60b8313a /tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc
parentcfdd61585769188789280e768fc43fdbba799619 (diff)
Supports PReLU in TFLite & Toco.
PiperOrigin-RevId: 190097557
Diffstat (limited to 'tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc')
-rw-r--r--tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc b/tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc
index 375848a7d4..676736cfc5 100644
--- a/tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc
+++ b/tensorflow/contrib/lite/toco/graph_transformations/propagate_fixed_sizes.cc
@@ -1467,6 +1467,7 @@ bool PropagateFixedSizes::Run(Model* model, std::size_t op_index) {
case OperatorType::kRelu:
case OperatorType::kRelu1:
case OperatorType::kRelu6:
+ case OperatorType::kPRelu:
case OperatorType::kSoftmax:
case OperatorType::kLogSoftmax:
case OperatorType::kLogistic: