Rename dim2d to shape2d

This commit is contained in:
2024-05-27 21:14:51 +02:00
parent 07d505a0e5
commit df47a31f36
22 changed files with 120 additions and 120 deletions

View File

@@ -32,7 +32,7 @@ readAndNormalizeImage(const std::string &imagePath, int width, int height) {
}
CUDANet::Model *createModel(
const dim2d inputSize,
const shape2d inputSize,
const int inputChannels,
const int outputSize
) {
@@ -112,7 +112,7 @@ int main(int argc, const char *const argv[]) {
std::string modelWeightsPath = argv[1];
std::string imagePath = argv[2];
const dim2d inputSize = {227, 227};
const shape2d inputSize = {227, 227};
const int inputChannels = 3;
const int outputSize = 1000;