FLImaging 6.6.27.1
ComputationalGraphAugmentationForGAN.h
1#pragma once
2
3#if _MSC_VER >= 1900 && defined(_M_X64)
4
5#include "ComputationalGraphAugmentationBase.h"
6
7namespace FLImaging
8{
9 namespace AI
10 {
12
13 template<typename T>
14 class CInternalAugmentationForGAN;
15
16 template <typename T>
17 class FL_EXPORT CComputationalGraphAugmentationForGAN : public CComputationalGraphAugmentationBase<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
증강 파라미터 클래스 이미지를 변형하여 학습이미지에 다양성을 증가시켜 overfitting을 방지하고, 일반화된 특성을 학습할 수 있도록 합니다....
Definition AugmentationParameters.h:67
Definition AlgorithmAIBase.h:16