Skip to content

typo and why so large input buffer #40

@helloearth012

Description

@helloearth012
Below two lines are in feather/test_txt.cpp

size_t input_size = 224 * 2224 * 3 ;
float *input = new float[input_size * 20];
  1. typo 2224->224?
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions