From: 채성우/On-Device Lab(SR)/Engineer/삼성전자 Date: Wed, 23 Oct 2019 05:35:32 +0000 (+0900) Subject: [moco-tf] set shape in Frontend test (#8408) X-Git-Tag: submit/tizen/20191205.083104~631 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b5614ab76883c89a8ef389e8aadd7da6d405160;p=platform%2Fcore%2Fml%2Fnnfw.git [moco-tf] set shape in Frontend test (#8408) * [moco-tf] set shape in Frontend test This commit set shape to signature in Frontend test. Signed-off-by: seongwoo * apply comment. --- diff --git a/compiler/moco-tf/src/Frontend.test.cpp b/compiler/moco-tf/src/Frontend.test.cpp index 57a9eb7..561d909 100644 --- a/compiler/moco-tf/src/Frontend.test.cpp +++ b/compiler/moco-tf/src/Frontend.test.cpp @@ -63,6 +63,7 @@ TEST(FrontendTests, testcase_000) moco::tf::ModelSignature signature; signature.add_input(moco::tf::TensorName("Placeholder", 0)); + signature.shape("Placeholder:0", angkor::TensorShape{4}); signature.add_output(moco::tf::TensorName("Identity", 0)); std::stringstream ss{pbtxt_000};