add missing ActivationMode::kNone to ActivationModeString

PiperOrigin-RevId: 349228265
Change-Id: Ia2429e4df6d7fe91ce712caa6c15eb9965b2b445
This commit is contained in:
A. Unique TensorFlower 2020-12-27 19:40:58 -08:00 committed by TensorFlower Gardener
parent f9fd71a45e
commit bdff7e95a8

View File

@ -94,6 +94,8 @@ std::string QuantizedActivationModeString(QuantizedActivationMode mode) {
std::string ActivationModeString(ActivationMode mode) {
switch (mode) {
case ActivationMode::kNone:
return "none";
case ActivationMode::kSigmoid:
return "sigmoid";
case ActivationMode::kRelu: