forked from ARM-software/CMSIS-NN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conv 1xN use im2col for padding (ARM-software#123)
Co-authored-by: Felix Johnny Thomasmathibalan <felixjohnny.thomasmathibalan@arm.com>
- Loading branch information
1 parent
7d69e99
commit 2ef559d
Showing
21 changed files
with
2,032 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Generated by test_settings.py using tensorflow version 2.15.0 (Keras version 2.15.0). | ||
// Interpreter from tensorflow version 2.15.0 and revision v2.15.0-2-g0b15fdfcb3f. | ||
#pragma once | ||
#include <stdint.h> | ||
|
||
const int32_t conv_1_x_n_7_biases[15] = | ||
{16695, -19618, -5834, 17091, -10157, 12429, -21448, 22243, -25922, 21908, -424, -16337, -19201, -1489, -24054}; |
24 changes: 24 additions & 0 deletions
24
Tests/UnitTest/TestCases/TestData/conv_1_x_n_7/config_data.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Generated by test_settings.py using tensorflow version 2.15.0 (Keras version 2.15.0). | ||
// Interpreter from tensorflow version 2.15.0 and revision v2.15.0-2-g0b15fdfcb3f. | ||
#pragma once | ||
#define CONV_1_X_N_7_OUT_CH 15 | ||
#define CONV_1_X_N_7_IN_CH 20 | ||
#define CONV_1_X_N_7_INPUT_W 148 | ||
#define CONV_1_X_N_7_INPUT_H 1 | ||
#define CONV_1_X_N_7_DST_SIZE 4440 | ||
#define CONV_1_X_N_7_INPUT_SIZE 2960 | ||
#define CONV_1_X_N_7_OUT_ACTIVATION_MIN -127 | ||
#define CONV_1_X_N_7_OUT_ACTIVATION_MAX 127 | ||
#define CONV_1_X_N_7_INPUT_BATCHES 2 | ||
#define CONV_1_X_N_7_FILTER_X 32 | ||
#define CONV_1_X_N_7_FILTER_Y 1 | ||
#define CONV_1_X_N_7_STRIDE_X 1 | ||
#define CONV_1_X_N_7_STRIDE_Y 1 | ||
#define CONV_1_X_N_7_PAD_X 15 | ||
#define CONV_1_X_N_7_PAD_Y 0 | ||
#define CONV_1_X_N_7_OUTPUT_W 148 | ||
#define CONV_1_X_N_7_OUTPUT_H 1 | ||
#define CONV_1_X_N_7_INPUT_OFFSET 128 | ||
#define CONV_1_X_N_7_OUTPUT_OFFSET -4 | ||
#define CONV_1_X_N_7_DILATION_X 1 | ||
#define CONV_1_X_N_7_DILATION_Y 1 |
Oops, something went wrong.