forked from mindspore-Ecosystem/mindspore
fix leaky relu parser bug.
This commit is contained in:
parent
6763b63ca5
commit
2f04eda83e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue