From: 장지섭/동작제어Lab(SR)/Engineer/삼성전자 Date: Thu, 26 Jul 2018 01:54:48 +0000 (+0900) Subject: Change to use RandomGenerator outside the RandomTestRunner. (#1922) X-Git-Tag: 0.2~392 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aae35dd4a2b71fdd0c995145ddba713ef23cb31a;p=platform%2Fcore%2Fml%2Fnnfw.git Change to use RandomGenerator outside the RandomTestRunner. (#1922) This commit changes to use RandomGenerator outside of RandomTestRunner because some inputs are able to set the value outside of RandomTestRunner. Signed-off-by: jiseob.jang --- diff --git a/include/support/tflite/Diff.h b/include/support/tflite/Diff.h index 8b57c45..1a0ffd9 100644 --- a/include/support/tflite/Diff.h +++ b/include/support/tflite/Diff.h @@ -113,6 +113,9 @@ public: // Return 0 if test succeeds int run(const nnfw::support::tflite::interp::Builder &builder); +public: + RandomGenerator &generator() { return _randgen; }; + private: RandomGenerator _randgen; const RandomTestParam _param;