3#if _MSC_VER >= 1900 && defined(_M_X64)
5#include "BackendBase.h"
12 class FL_EXPORT CTensor;
15 class FL_EXPORT CBackendSmoothL1Loss :
public CBackendBase<T>
18 CBackendSmoothL1Loss();
19 CBackendSmoothL1Loss(
const CBackendSmoothL1Loss<T>& bl);
20 virtual ~CBackendSmoothL1Loss();
22 virtual const CResult SmoothL1Loss(
const CTensor<T>* pTsrX,
const CTensor<T>* pTsrTarget, CTensor<T>* pTsrResult, EReductionType eReductionType = EReductionType_Mean, T tBeta = (T)1.0);
23 virtual const CResult SmoothL1Loss_Backward(
const CTensor<T>* pTsrX,
const CTensor<T>* pTsrTarget,
const CTensor<T>* pTsrDy, CTensor<T>* pTsrDx, EReductionType eReductionType = EReductionType_Mean, T tBeta = (T)1.0);
25 DeclareGetClassType();
26 SupportToDuplicateObjectWithoutCreateNewObject(CBackendSmoothL1Loss<T>, *
this);