FLImaging 6.5.16.1
ComputationalGraphAugmentationForGAN.h
1#pragma once
2
3#if _MSC_VER >= 1900 && defined(_M_X64)
4
5#include "ComputationalGraphAugmentationForClassifier.h"
6
7namespace FLImaging
8{
9 namespace AI
10 {
11 class CAugmentationParameters;
12
13 template<typename T>
14 class CInternalAugmentationForGAN;
15
16 template <typename T>
17 class FL_EXPORT CComputationalGraphAugmentationForGAN : public CComputationalGraphAugmentationForClassifier<T>
18 {
19 private:
20 CComputationalGraphAugmentationForGAN();
21
22 protected:
23 CComputationalGraphAugmentationForGAN(const CComputationalGraphAugmentationForGAN<T>& cg);
24
25 public:
26
27 CComputationalGraphAugmentationForGAN(const CComputationalBase<T>& cbOperand, const CAugmentationParameters& apParams);
28 CComputationalGraphAugmentationForGAN(const CComputationalBase<T>& cbOperand, const CAugmentationParameters* pApParams);
29 virtual ~CComputationalGraphAugmentationForGAN();
30
31 virtual CComputationalBase<T>* Clone() const override;
32
33 DeclareGetClassType();
34 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationForGAN, *this);
35
36 protected:
37 public:
38 DeclareGetSignletonObject(CComputationalGraphAugmentationForGAN);
39
40
41 private:
42 template <typename T> friend class CInternalAugmentationForGAN;
43 };
44
45 #define CCGFAugmentationGAN(...) (*(new CComputationalGraphAugmentationForGAN<float>(__VA_ARGS__)))
46 #define CCGDAugmentationGAN(...) (*(new CComputationalGraphAugmentationForGAN<double>(__VA_ARGS__)))
47
48 #define CCGTAugmentationGAN(T, ...) (*(new CComputationalGraphAugmentationForGAN<T>(__VA_ARGS__)))
49 }
50}
51
52#endif