3#if _MSC_VER >= 1900 && defined(_M_X64)
6#include "BackendLabel.h"
7#include "ComputationalGraphAugmentationBase.h"
14 class CAugmentationParameters;
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 DeclareGetClassType();
36 SupportToDuplicateObjectWithoutCreateNewObject(CComputationalGraphAugmentationForInstanceSegmentation, *
this);
40 DeclareGetSignletonObject(CComputationalGraphAugmentationForInstanceSegmentation);
42 template <
typename T>
friend class CInternalAugmentationForInstanceSegmentation;
45 #define CCGFAugmentationIS(...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<float>(__VA_ARGS__)))
46 #define CCGDAugmentationIS(...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<double>(__VA_ARGS__)))
48 #define CCGTAugmentationIS(T, ...) (*(new CComputationalGraphAugmentationForInstanceSegmentation<T>(__VA_ARGS__)))