espressif / esp-dl

Espressif deep-learning library for AIoT applications
MIT License
516 stars 115 forks source link

Wrong comparison in Mul2D layer (AIV-479) #83

Closed michalber closed 2 years ago

michalber commented 2 years ago

In Mul2D layer there is bug in wrong comparison in if statement.

Problem:

if (this->output != NULL)
{
    this->output = new Tensor<feature_t>;
}

Solution:

if (this->output == NULL)
{
    this->output = new Tensor<feature_t>;
}
TiramisuJ commented 2 years ago

The bugs have been fixed