3#if _MSC_VER >= 1900 && defined(_M_X64)
5#include "BackendBase.h"
12 class FL_EXPORT CTensor;
15 class FL_EXPORT CBackendReLU :
public CBackendBase<T>
19 CBackendReLU(
const CBackendReLU<T>& bf);
20 virtual ~CBackendReLU();
22 virtual const CResult Forward(
const CTensor<T>* pTsrOperand, CTensor<T>* pTsrResult,
bool bInplace,
bool bRetained, int8_t* pReserveBuffer,
size_t stReserveSize, int32_t i32DeviceIndex);
23 virtual const CResult Backward(
const CTensor<T>* pTsrOperand, CTensor<T>* pTsrResult, CTensor<T>* pTsrX,
bool bAddGradient,
bool bInplace,
bool bRetained, int8_t* pReserveBuffer);
25 DeclareGetClassType();
26 SupportToDuplicateObjectWithoutCreateNewObject(CBackendReLU<T>, *
this);
33 int64_t m_i64PaddingX;
34 int64_t m_i64PaddingY;
Definition AlgorithmAIBase.h:18