3#if _MSC_VER >= 1900 && defined(_M_X64)
6#include "BackendLabel.h"
7#include "ComputationalGraphAugmentationBase.h"
16 class CInternalAugmentationForInstanceSegmentation;
19 class FL_EXPORT CComputationalGraphAugmentationForInstanceSegmentation :
public CComputationalGraphAugmentationBase<T>
22 CComputationalGraphAugmentationForInstanceSegmentation();
25 CComputationalGraphAugmentationForInstanceSegmentation(
const CComputationalGraphAugmentationForInstanceSegmentation<T>& cg);
28 CComputationalGraphAugmentationForInstanceSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters& apParams);
29 CComputationalGraphAugmentationForInstanceSegmentation(
const CComputationalBase<T>& cbOperand,
const CAugmentationParameters* pApParams);
30 virtual ~CComputationalGraphAugmentationForInstanceSegmentation();
32 virtual CComputationalBase<T>* Clone()
const override;
33 virtual CTensor<T>& Forward()
override;
35 virtual const CResult GetBinaryData(Base::CFLData& fldBinary,
bool bSuperClass =
false, int32_t i32Version = -1,
bool bDumpMode =
false)
const override;
36 virtual const CResult GetBinaryData(Base::CFLData* pFldBinary,
bool bSuperClass =
false, int32_t i32Version = -1,
bool bDumpMode =
false)
const override;
38 virtual const CResult SetBinaryData(
const Base::CFLData& fldBinary, int64_t* pI64Offset =
nullptr)
override;
39 virtual const CResult SetBinaryData(
const Base::CFLData* pFldBinary, int64_t* pI64Offset =
nullptr)
override;
41 DeclareGetClassType();
42 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationForInstanceSegmentation, *
this);
46 DeclareGetSignletonObject(CComputationalGraphAugmentationForInstanceSegmentation);
48 template <
typename T>
friend class CInternalAugmentationForInstanceSegmentation;
51 #define CCGFAugmentationIS(...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<float>(__VA_ARGS__)))
52 #define CCGDAugmentationIS(...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<double>(__VA_ARGS__)))
54 #define CCGTAugmentationIS(T, ...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<T>(__VA_ARGS__)))
Augmentation Parameter Class By transforming the images, it increases the diversity of training image...
Definition AugmentationParameters.h:69
Definition AlgorithmAIBase.h:18