Add Diff constructor (#1512)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 1 Jun 2018 07:52:59 +0000 (16:52 +0900)
committer이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Fri, 1 Jun 2018 07:52:59 +0000 (16:52 +0900)
commit6675c38d7e69149b3c2209a283573194db223d67
treec6ac3760e7fc3fe4403d612c1256ff48b9048ebc
parent78ef8340a35d719db64c2ae7d20543b238810e4d
Add Diff constructor (#1512)

This commit adds a constructor to 'nnfw::util::tensor::Diff' which
initializes expected/obtained fields, and simplifies Comparator
implementation using this new constructor.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
include/util/tensor/Diff.h
libs/util/src/tensor/Comparator.cpp