mnnpy
mnnpy copied to clipboard
out_batches not being set in transform_input_data() with cos_norm_out=False
Hello,
For whatever reason, I feel more comfortable running mnn_correct() with cos_norm_out set to False. As such, I tried to do it this way, and got an error about out_batches not being set. Looking at the source code of transform_input_data(), out_batches only gets set if cos_norm_out is set to True. Just bringing this to your attention, as in its current form an input flag kills the function.
Thank you! I will look into it. If you have a direct fix, you are welcome to submit a pull request!
I meet this error too!