This commit modifies output log in simple_model.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
float delta = outputTensorPtr[idx] - goldenRef;
delta = (delta < 0.0f) ? (-delta) : delta;
if (delta > FLOAT_EPISILON) {
- std::cerr << "Output computation Error: output0(" << outputTensorPtr[0]
+ std::cerr << "Output computation Error: output" << idx << "(" << outputTensorPtr[idx]
<< "), delta(" << delta
<< ") @ idx(" << idx
<< ")" << std::endl;
float result = 0.0f;
nn_model->Compute(input1, input2, &result);
- std::cout << "result : " << std::endl;
+ std::cout << "result : " << result << std::endl;
delete(nn_model);