fix leaky relu parser bug.

This commit is contained in:
lyvette 2020-08-24 15:03:24 +08:00
parent 6763b63ca5
commit 2f04eda83e
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ STATUS TfliteActivationParser::Parse(const std::unique_ptr<tflite::OperatorT> &t
return RET_NULL_PTR;
}
attr->alpha = tflite_attr->alpha;
attr->type = schema::ActivationType_SIGMOID;
attr->type = schema::ActivationType_LEAKY_RELU;
}
op->primitive->value.type = schema::PrimitiveType_Activation;