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