mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
* model building * fix build * winml adapter model building api * model building * make build * make build again * add model building with audio op * inplace and inorder fft * add ifft * works! * cleanup * add comments * switch to iterative rather than recursive and use parallelization * batched parallelization * fft->dft * cleanup * window functions * add melweightmatrix op * updates to make spectrogram test work * push latest * add onesided * cleanup * Clean up building apis and fix mel * cleanup * cleanup * naive stft * fix test output * middle c complete * 3 tones * cleanup * signal def new line * Add save functionality * Perf improvements, 10x improvement * cleanup * use bitreverse lookup table for performance * implement constant initializers for tensors * small changes * add matmul tests * merge issues * support add attribute * add tests for double data type windowfunctions and minor cleanup * stft onesided/and not tests * cleanup * cleanup * clean up * cleanup * remove threading attribute * forward declare orttypeinfo * warnings * fwd declare * fix warnings * 1 more warning * remove saving to e drive... * cleanup and fix stft test * add opset picker * small additions * add onnxruntime tests * add signed/unsigned * fix warning * fix warning * finish onnxruntime tests * make windows namespace build succeed * add experimental flag * add experimental api into nuget package * add experimental api build flag and add to windows ai nuget package * turn experimental for tests * add minimum opset version to new experimental domain * api cleanup * disable ms experimental ops test when --ms_experimental is not enabled * add macro behind flag * remove unused x * pr feedback Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
70 lines
3.5 KiB
C
70 lines
3.5 KiB
C
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#include "test.h"
|
|
|
|
struct LearningModelSessionAPITestsApi {
|
|
SetupClass LearningModelSessionAPITestsClassSetup;
|
|
VoidTest CreateSessionDeviceDefault;
|
|
VoidTest CreateSessionDeviceCpu;
|
|
VoidTest CreateSessionWithModelLoadedFromStream;
|
|
VoidTest CreateSessionDeviceDirectX;
|
|
VoidTest CreateSessionDeviceDirectXHighPerformance;
|
|
VoidTest CreateSessionDeviceDirectXMinimumPower;
|
|
VoidTest AdapterIdAndDevice;
|
|
VoidTest EvaluateFeatures;
|
|
VoidTest EvaluateFeaturesAsync;
|
|
VoidTest EvaluationProperties;
|
|
VoidTest CreateSessionWithCastToFloat16InModel;
|
|
VoidTest CreateSessionWithFloat16InitializersInModel;
|
|
VoidTest EvaluateSessionAndCloseModel;
|
|
VoidTest OverrideNamedDimension;
|
|
VoidTest CloseSession;
|
|
VoidTest SetIntraOpNumThreads;
|
|
VoidTest ModelBuilding_Gemm;
|
|
VoidTest ModelBuilding_StandardDeviationNormalization;
|
|
VoidTest ModelBuilding_DynamicMatmul;
|
|
VoidTest ModelBuilding_ConstantMatmul;
|
|
VoidTest ModelBuilding_DiscreteFourierTransform;
|
|
VoidTest ModelBuilding_DiscreteFourierTransformInverseIdentity;
|
|
VoidTest ModelBuilding_HannWindow;
|
|
VoidTest ModelBuilding_HammingWindow;
|
|
VoidTest ModelBuilding_BlackmanWindow;
|
|
VoidTest ModelBuilding_STFT;
|
|
VoidTest ModelBuilding_MelSpectrogramOnThreeToneSignal;
|
|
VoidTest ModelBuilding_MelWeightMatrix;
|
|
};
|
|
const LearningModelSessionAPITestsApi& getapi();
|
|
|
|
WINML_TEST_CLASS_BEGIN(LearningModelSessionAPITests)
|
|
WINML_TEST_CLASS_SETUP_CLASS(LearningModelSessionAPITestsClassSetup)
|
|
WINML_TEST_CLASS_BEGIN_TESTS
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionDeviceDefault)
|
|
WINML_TEST(LearningModelSessionAPITests,CreateSessionDeviceCpu)
|
|
WINML_TEST(LearningModelSessionAPITests,CreateSessionWithModelLoadedFromStream)
|
|
WINML_TEST(LearningModelSessionAPITests,EvaluateFeatures)
|
|
WINML_TEST(LearningModelSessionAPITests,EvaluateFeaturesAsync)
|
|
WINML_TEST(LearningModelSessionAPITests,EvaluationProperties)
|
|
WINML_TEST(LearningModelSessionAPITests,EvaluateSessionAndCloseModel)
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionDeviceDirectX)
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionDeviceDirectXHighPerformance)
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionDeviceDirectXMinimumPower)
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionWithCastToFloat16InModel)
|
|
WINML_TEST(LearningModelSessionAPITests, CreateSessionWithFloat16InitializersInModel)
|
|
WINML_TEST(LearningModelSessionAPITests, AdapterIdAndDevice)
|
|
WINML_TEST(LearningModelSessionAPITests, OverrideNamedDimension)
|
|
WINML_TEST(LearningModelSessionAPITests, CloseSession)
|
|
WINML_TEST(LearningModelSessionAPITests, SetIntraOpNumThreads)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_Gemm)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_StandardDeviationNormalization)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_DynamicMatmul)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_ConstantMatmul)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_DiscreteFourierTransform)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_DiscreteFourierTransformInverseIdentity)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_HannWindow)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_HammingWindow)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_BlackmanWindow)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_STFT)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_MelSpectrogramOnThreeToneSignal)
|
|
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_MelWeightMatrix)
|
|
WINML_TEST_CLASS_END()
|