#include "daal.h"
#include "service.h"
using namespace std;
using namespace daal;
using namespace daal::algorithms;
using namespace daal::algorithms::math;
string datasetName = "../data/batch/covcormoments_dense.csv";
int main()
{
FileDataSource<CSVFeatureManager> dataSource(datasetName, DataSource::doAllocateNumericTable, DataSource::doDictionaryFromContext);
dataSource.loadDataBlock();
smoothrelu::Batch<> smoothReLU;
smoothReLU.input.set(smoothrelu::data, dataSource.getNumericTable());
smoothReLU.compute();
smoothrelu::ResultPtr res = smoothReLU.getResult();
printNumericTable(res->get(smoothrelu::value), "SmoothReLU result (first 5 rows):", 5);
return 0;
}