@@ -827,28 +827,6 @@ namespace WinMLRunnerTest
827827 Assert::AreEqual (true , CompareTensorsFP16(L" OutputTensorData\\ Squeezenet_fp16_fish_input_CPU.csv" ,
828828 tensorDataPath + L" \\ softmaxout_1CpuIteration1.csv" ));
829829 }
830-
831- TEST_METHOD_WITH_NAME (ProvidedCSVInputOnlyGpuSaveCpuBoundTensorImageDenotation)
832- const std::wstring modelPath = CURRENT_PATH + L"mnist.onnx";
833- const std::wstring inputPath = CURRENT_PATH + L" mnist_28.csv" ;
834- const std::wstring tensorDataPath = TENSOR_DATA_PATH + L" \\ " + METHOD_NAME;
835- const std::wstring command = BuildCommand({ EXE_PATH, L" -model " , modelPath, L" -input" , inputPath,
836- L" -SaveTensorData" , L" First" , L" -PerIterationPath" , tensorDataPath, L" -GPU" });
837- Assert::AreEqual (S_OK, RunProc((wchar_t *)command.c_str()));
838- Assert::AreEqual (true , CompareTensors(L" OutputTensorData\\ Mnist_8_input_GPU.csv" ,
839- tensorDataPath + L" \\ Plus214_Output_0GpuIteration1.csv" ));
840- }
841-
842- TEST_METHOD_WITH_NAME (ProvidedCSVInputOnlyCpuSaveCpuBoundTensorImageDenotation)
843- const std::wstring modelPath = CURRENT_PATH + L"mnist.onnx";
844- const std::wstring inputPath = CURRENT_PATH + L" mnist_28.csv" ;
845- const std::wstring tensorDataPath = TENSOR_DATA_PATH + L" \\ " + METHOD_NAME;
846- const std::wstring command = BuildCommand({ EXE_PATH, L" -model " , modelPath, L" -input" , inputPath,
847- L" -SaveTensorData" , L" First" , L" -PerIterationPath" , tensorDataPath, L" -CPU" });
848- Assert::AreEqual (S_OK, RunProc((wchar_t *)command.c_str()));
849- Assert::AreEqual (true , CompareTensors(L" OutputTensorData\\ Mnist_8_input_CPU.csv" ,
850- tensorDataPath + L" \\ Plus214_Output_0CpuIteration1.csv" ));
851- }
852830 };
853831
854832 TEST_CLASS (ConcurrencyTest)
@@ -887,7 +865,7 @@ namespace WinMLRunnerTest
887865 TEST_METHOD (LoadModelFailModelNotFound)
888866 {
889867 const std::wstring command = BuildCommand ({ EXE_PATH, L" -model" , L" invalid_model_name" });
890- Assert::AreEqual (HRESULT_FROM_WIN32 (ERROR_FILE_NOT_FOUND ), RunProc ((wchar_t *)command.c_str ()));
868+ Assert::AreEqual (HRESULT_FROM_WIN32 (E_FAIL ), RunProc ((wchar_t *)command.c_str ()));
891869 }
892870
893871 TEST_METHOD (TestPrintUsage)
0 commit comments