From 7c5414d9b4a48d9b690f7c8a8d95d5ed3c9da4c7 Mon Sep 17 00:00:00 2001 From: Hashim Sharif <hsharif3@tyler.cs.illinois.edu> Date: Sun, 14 Jun 2020 22:52:10 -0500 Subject: [PATCH] Fixing VGG100 paths --- .../dnn_sources/src/half/vgg16_cifar100_half.cc | 2 +- .../src/promise/vgg16_cifar100_promise.cc | 2 +- .../dnn_sources/src/vgg16_cifar100.cc | 9 +++++---- .../approxhpvm_src.cc | 0 .../conv2d_10_b.bin | Bin .../conv2d_10_w.bin | Bin .../conv2d_11_b.bin | Bin .../conv2d_11_w.bin | Bin .../conv2d_12_b.bin | Bin .../conv2d_12_w.bin | Bin .../conv2d_13_b.bin | Bin .../conv2d_13_w.bin | Bin .../conv2d_1_b.bin | Bin .../conv2d_1_w.bin | Bin .../conv2d_2_b.bin | 0 .../conv2d_2_w.bin | Bin .../conv2d_3_b.bin | Bin .../conv2d_3_w.bin | Bin .../conv2d_4_b.bin | Bin .../conv2d_4_w.bin | Bin .../conv2d_5_b.bin | Bin .../conv2d_5_w.bin | Bin .../conv2d_6_b.bin | 0 .../conv2d_6_w.bin | Bin .../conv2d_7_b.bin | Bin .../conv2d_7_w.bin | Bin .../conv2d_8_b.bin | Bin .../conv2d_8_w.bin | Bin .../conv2d_9_b.bin | Bin .../conv2d_9_w.bin | Bin .../dense_1_b.bin | Bin .../dense_1_w.bin | Bin .../dense_2_b.bin | Bin .../dense_2_w.bin | Bin .../input.bin | Bin .../labels.bin | Bin .../labels32.bin | Bin .../layer_composition.txt | 0 .../layers.txt | 0 .../promise_src.cc | 0 .../{vgg16_cifar100_front => vgg16_cifar100}/src.cc | 0 .../vgg16_cifar100/src/vgg16_cifar100.cpp | 2 +- .../vgg16_cifar100/src/vgg16_cifar100_loop.cpp | 2 +- .../vgg16_cifar100/src/vgg16_cifar100_promise.cpp | 2 +- 44 files changed, 10 insertions(+), 9 deletions(-) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/approxhpvm_src.cc (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_10_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_10_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_11_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_11_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_12_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_12_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_13_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_13_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_1_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_1_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_2_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_2_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_3_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_3_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_4_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_4_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_5_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_5_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_6_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_6_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_7_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_7_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_8_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_8_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_9_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/conv2d_9_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/dense_1_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/dense_1_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/dense_2_b.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/dense_2_w.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/input.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/labels.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/labels32.bin (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/layer_composition.txt (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/layers.txt (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/promise_src.cc (100%) rename llvm/projects/hpvm-tensor-rt/model_params/{vgg16_cifar100_front => vgg16_cifar100}/src.cc (100%) diff --git a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/half/vgg16_cifar100_half.cc b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/half/vgg16_cifar100_half.cc index f6a6d0ecbf..7107defe9d 100644 --- a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/half/vgg16_cifar100_half.cc +++ b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/half/vgg16_cifar100_half.cc @@ -13,7 +13,7 @@ int main(){ llvm_hpvm_initTensorRt(0); - std::string dir_prefix = std::string("../model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); std::string labels_path = dir_prefix + std::string("labels.bin"); std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); diff --git a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/promise/vgg16_cifar100_promise.cc b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/promise/vgg16_cifar100_promise.cc index d238237ff3..798bc8a1d7 100644 --- a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/promise/vgg16_cifar100_promise.cc +++ b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/promise/vgg16_cifar100_promise.cc @@ -74,7 +74,7 @@ int main(int argc, char* argv[]){ int batch_count = test_input_size / batch_size; float final_accuracy = 0.0; - std::string dir_prefix = std::string("../model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); std::string labels_path = dir_prefix + std::string("labels.bin"); std::string labels32_path = dir_prefix + std::string("labels32.bin"); diff --git a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/vgg16_cifar100.cc b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/vgg16_cifar100.cc index 63ca073e15..0290a27828 100644 --- a/llvm/projects/hpvm-tensor-rt/dnn_sources/src/vgg16_cifar100.cc +++ b/llvm/projects/hpvm-tensor-rt/dnn_sources/src/vgg16_cifar100.cc @@ -13,9 +13,10 @@ int main(){ llvm_hpvm_initTensorRt(0); - std::string dir_prefix = std::string("../model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); - std::string labels_path = dir_prefix + std::string("labels.bin"); + std::string labels_path = dir_prefix + std::string("labels.bin"); + std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); void* conv2d_1_w = readTrainedWeights(conv2d_1_w_path.c_str(), 0,64,3,3,3); std::string conv2d_1_b_path = dir_prefix + std::string("conv2d_1_b.bin"); @@ -80,8 +81,8 @@ int main(){ startMemTracking(); - int test_input_size = 10000; - int batch_size = 2500; + int test_input_size = 5000; + int batch_size = 5000; int batch_count = test_input_size / batch_size; float final_accuracy = 0.0; diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/approxhpvm_src.cc b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/approxhpvm_src.cc similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/approxhpvm_src.cc rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/approxhpvm_src.cc diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_10_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_10_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_10_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_10_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_10_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_10_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_10_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_10_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_11_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_11_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_11_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_11_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_11_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_11_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_11_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_11_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_12_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_12_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_12_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_12_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_12_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_12_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_12_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_12_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_13_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_13_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_13_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_13_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_13_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_13_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_13_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_13_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_1_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_1_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_1_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_1_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_1_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_1_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_1_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_1_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_2_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_2_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_2_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_2_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_2_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_2_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_2_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_2_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_3_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_3_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_3_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_3_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_3_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_3_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_3_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_3_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_4_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_4_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_4_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_4_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_4_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_4_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_4_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_4_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_5_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_5_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_5_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_5_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_5_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_5_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_5_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_5_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_6_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_6_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_6_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_6_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_6_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_6_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_6_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_6_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_7_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_7_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_7_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_7_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_7_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_7_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_7_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_7_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_8_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_8_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_8_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_8_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_8_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_8_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_8_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_8_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_9_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_9_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_9_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_9_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_9_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_9_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/conv2d_9_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/conv2d_9_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_1_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_1_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_1_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_1_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_1_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_1_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_1_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_1_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_2_b.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_2_b.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_2_b.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_2_b.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_2_w.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_2_w.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/dense_2_w.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/dense_2_w.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/input.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/input.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/input.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/input.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/labels.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/labels.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/labels.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/labels.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/labels32.bin b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/labels32.bin similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/labels32.bin rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/labels32.bin diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/layer_composition.txt b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/layer_composition.txt similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/layer_composition.txt rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/layer_composition.txt diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/layers.txt b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/layers.txt similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/layers.txt rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/layers.txt diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/promise_src.cc b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/promise_src.cc similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/promise_src.cc rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/promise_src.cc diff --git a/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/src.cc b/llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/src.cc similarity index 100% rename from llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/src.cc rename to llvm/projects/hpvm-tensor-rt/model_params/vgg16_cifar100/src.cc diff --git a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100.cpp b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100.cpp index bae08453c3..5ab998ec02 100644 --- a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100.cpp +++ b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100.cpp @@ -837,7 +837,7 @@ RootIn; int main(){ - std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); std::string labels_path = dir_prefix + std::string("labels32.bin"); diff --git a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_loop.cpp b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_loop.cpp index ee5643a8d2..cfd2d79838 100644 --- a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_loop.cpp +++ b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_loop.cpp @@ -837,7 +837,7 @@ RootIn; int main(){ - std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); std::string labels_path = dir_prefix + std::string("labels32.bin"); diff --git a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_promise.cpp b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_promise.cpp index 531d159baf..37e1e72b3d 100644 --- a/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_promise.cpp +++ b/llvm/test/VISC/DNN_Benchmarks/benchmarks/vgg16_cifar100/src/vgg16_cifar100_promise.cpp @@ -837,7 +837,7 @@ RootIn; int main(){ - std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100_front/"); + std::string dir_prefix = std::string("../../../../../../projects/hpvm-tensor-rt/model_params/vgg16_cifar100/"); std::string input_path = dir_prefix + std::string("input.bin"); std::string labels_path = dir_prefix + std::string("labels32.bin"); -- GitLab