Closed MichelBerg closed 5 months ago
During some experiments while using ESP-DL TVM I faced the following Error:
**UnboundLocalError: local variable 'bias_add' referenced before assignment** https://github.com/espressif/esp-dl/blob/6933e459e6099f110a590f08cc9454306e54fc74/tools/tvm/python/tvm/relay/op/contrib/esp.py#L138C1-L161C17
**UnboundLocalError: local variable 'bias_add' referenced before assignment**
I dont have deep knowledge within this code, but I was able to bypass the error by setting bias_add = pattern, to make sure the variable is available.
bias_add = pattern
Someone with prior knowledge should take care of it.
We have fixed this issue, you can try it again now. The commit is: 19d377e
During some experiments while using ESP-DL TVM I faced the following Error:
**UnboundLocalError: local variable 'bias_add' referenced before assignment**
https://github.com/espressif/esp-dl/blob/6933e459e6099f110a590f08cc9454306e54fc74/tools/tvm/python/tvm/relay/op/contrib/esp.py#L138C1-L161C17I dont have deep knowledge within this code, but I was able to bypass the error by setting
bias_add = pattern
, to make sure the variable is available.Someone with prior knowledge should take care of it.