- Timestamp:
- Jan 29, 2019, 3:16:32 AM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- 64959c4
- Parents:
- 085696b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/conv2d.c
r085696b r5a89af0 467 467 { 468 468 AUBIO_ASSERT(c && padding_mode); 469 if (strnc mp(padding_mode, "same", PATH_MAX) == 0) {469 if (strncasecmp(padding_mode, "same", PATH_MAX) == 0) { 470 470 c->padding_mode = PAD_SAME; 471 } else if (strnc mp(padding_mode, "valid", PATH_MAX) == 0) {471 } else if (strncasecmp(padding_mode, "valid", PATH_MAX) == 0) { 472 472 c->padding_mode = PAD_VALID; 473 473 } else {
Note: See TracChangeset
for help on using the changeset viewer.