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
#include <iostream> | |
#include <vector> | |
using namespace std; | |
vector<vector<vector<vector<float>>>> Conv4D( | |
vector<vector<vector<vector<float>>>> image, | |
vector<vector<vector<vector<float>>>> kernel, | |
int stride, | |
int padding) |
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
#include <iostream> | |
#include <vector> | |
using namespace std; | |
vector<vector<vector<float>>> Conv3D(vector<vector<vector<float>>> image, | |
vector<vector<vector<float>>> kernel, | |
int stride, | |
int padding) { | |
//Handle the case for if you want a same convolution |