Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// 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 SetIntraOpThreadSpinning;
  VoidTest ModelBuilding_Gemm;
  VoidTest ModelBuilding_StandardDeviationNormalization;
  VoidTest ModelBuilding_DynamicMatmul;
  VoidTest ModelBuilding_ConstantMatmul;
  VoidTest ModelBuilding_DiscreteFourierTransform;
  VoidTest ModelBuilding_DiscreteFourierTransformInverseIdentity;
  VoidTest ModelBuilding_DiscreteFourierTransformDeviceDirectX;
  VoidTest ModelBuilding_DiscreteFourierTransformInverseIdentityDeviceDirectX;
  VoidTest ModelBuilding_GridSampleDeviceDirectX;
  VoidTest ModelBuilding_HannWindow;
  VoidTest ModelBuilding_HammingWindow;
  VoidTest ModelBuilding_BlackmanWindow;
  VoidTest ModelBuilding_STFT;
  VoidTest ModelBuilding_MelSpectrogramOnThreeToneSignal;
  VoidTest ModelBuilding_MelWeightMatrix;
  VoidTest SetName;
};
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, SetIntraOpThreadSpinning)
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_DiscreteFourierTransformDeviceDirectX)
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_DiscreteFourierTransformInverseIdentityDeviceDirectX)
WINML_TEST(LearningModelSessionAPITests, ModelBuilding_GridSampleDeviceDirectX)
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(LearningModelSessionAPITests, SetName)
WINML_TEST_CLASS_END()