FeatherCNN
FeatherCNN copied to clipboard
typo and why so large input buffer
Below two lines are in feather/test_txt.cpp
size_t input_size = 224 * 2224 * 3 ;
float *input = new float[input_size * 20];
- typo 2224->224?
- why do you allocate 20 times of input size, seems like each time only use float[input_size], is there a reason for 20 times buffer?
Input_size should be 224 * 224 * 3, it has been fixed.
The test program can take several lines of 224 * 224 * 3 floats as its input, here we set it to be 20. You can modify it as you want.