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);