runtime/onnxruntime/src/paraformer-torch.cpp
@@ -38,7 +38,7 @@ LOG(ERROR) << "CUDA is not available! Please check your GPU settings"; exit(-1); } else { LOG(INFO) << "CUDA available! Running on GPU"; LOG(INFO) << "CUDA is available, running on GPU"; device = at::kCUDA; } #endif @@ -359,6 +359,7 @@ } std::vector<std::vector<float>> ParaformerTorch::CompileHotwordEmbedding(std::string &hotwords) { // TODO std::vector<std::vector<float>> result(1, std::vector<float>(10, 0.0f)); return result; }