3#if _MSC_VER >= 1900 && defined(_M_X64)
6#include "BackendLabel.h"
7#include "ComputationalGraphAugmentationBase.h"
16 class CInternalAugmentationMaskOperationForSegmentation;
19 class FL_EXPORT CComputationalGraphAugmentationMaskOperationForSegmentation :
public CComputationalGraphAugmentationBase<T>
22 CComputationalGraphAugmentationMaskOperationForSegmentation();
25 CComputationalGraphAugmentationMaskOperationForSegmentation(
const CComputationalGraphAugmentationMaskOperationForSegmentation<T>& cg);
29 CComputationalGraphAugmentationMaskOperationForSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters& apParams);
30 CComputationalGraphAugmentationMaskOperationForSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters* pApParams);
31 virtual ~CComputationalGraphAugmentationMaskOperationForSegmentation();
33 virtual CComputationalBase<T>* Clone()
const override;
34 virtual const CTensor<T>& GetMaskTensor()
const;
35 virtual CTensor<T>& Forward()
override;
37 virtual int64_t GetRequiredDedicatedMemory(
bool bTraining =
false,
bool bRecursively =
true, int64_t i64BatchSize = 1)
const override;
40 DeclareGetClassType();
41 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationMaskOperationForSegmentation, *
this);
44 CTensor<T> m_tsrMaskTmpBuffer;
46 CBackendLabel<T> m_backendLabel;
48 DeclareGetSignletonObject(CComputationalGraphAugmentationMaskOperationForSegmentation);
52 template <
typename T>
friend class CInternalAugmentationMaskOperationForSegmentation;
55 #define CCGFAugmentationMaskOPSS(...) (*(new CComputationalGraphAugmentationMaskOperationForSegmentation<float>(__VA_ARGS__)))
56 #define CCGDAugmentationMaskOPSS(...) (*(new CComputationalGraphAugmentationMaskOperationForSegmentation<double>(__VA_ARGS__)))
58 #define CCGTAugmentationMaskOPSS(T, ...) (*(new CComputationalGraphAugmentationMaskOperationForSegmentation<T>(__VA_ARGS__)))
증강 파라미터 클래스 이미지를 변형하여 학습이미지에 다양성을 증가시켜 overfitting을 방지하고, 일반화된 특성을 학습할 수 있도록 합니다....
Definition AugmentationParameters.h:67
Definition AlgorithmAIBase.h:16