This patch adds simpleshot directory to application.
Nothing's present yet just a simple structures
**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
--- /dev/null
+Pratical demonstration of SimpleShot few tasks including real examples
+
+Reference. [Wang, Yan, et al. 2019](https://arxiv.org/abs/1911.04623)
+
+# How to use
+TBA
--- /dev/null
+simpleshot_sources = [
+ 'task_runner.cpp'
+]
+
+simpleshot_inc = include_directories('.')
+
+e = executable('simpleshot_runner',
+ simpleshot_sources,
+ dependencies: [app_utils_dep, nntrainer_dep, tflite_dep],
+ install: get_option('install-app'),
+ install_dir: application_install_dir
+)
+
+if get_option('enable-test')
+ subdir('test')
+endif
--- /dev/null
+// SPDX-License-Identifier: Apache-2.0
+/**
+ * Copyright (C) 2020 Jihoon Lee <jhoon.it.lee@samsung.com>
+ *
+ * @file task_runner.cpp
+ * @date 08 Jan 2021
+ * @brief task runner for the simpleshot demonstration
+ * @see https://github.com/nnstreamer/nntrainer
+ * @author Jihoon Lee <jhoon.it.lee@samsung.com>
+ * @bug No known bugs except for NYI items
+ */
+
+#include <iostream>
+
+/**
+ * @brief main runner
+ *
+ * @return int
+ */
+int main(int argc, char **argv) { std::cout << "hello world\n"; }
--- /dev/null
+gtest_dep_with_main = dependency('gtest', main : true, required : false)
+
+
+test_target = [
+ 'mock_test',
+]
+
+foreach target: test_target
+ exe = executable(
+ target,
+ target + '.cpp',
+ dependencies: gtest_dep_with_main,
+ install: get_option('enable-test'),
+ install_dir: application_install_dir
+ )
+ test(target, exe)
+endforeach
--- /dev/null
+// SPDX-License-Identifier: Apache-2.0
+/**
+ * Copyright (C) 2020 Jihoon Lee <jhoon.it.lee@samsung.com>
+ *
+ * @file mock_test.cpp
+ * @date 08 Jan 2021
+ * @brief mock test for simpleshot application
+ * @see https://github.com/nnstreamer/nntrainer
+ * @author Jihoon Lee <jhoon.it.lee@samsung.com>
+ * @note this will be deleted or moved as the application is building up
+ * @bug No known bugs except for NYI items
+ */
+
+#include <gtest/gtest.h>
+
+TEST(sample_test, test_01_p) { EXPECT_TRUE(true); }
subdir('TransferLearning/CIFAR_Classification/jni')
subdir('TransferLearning/Draw_Classification/jni')
subdir('Custom/LayerClient/jni')
+
+if get_option('enable-tflite-backbone')
+ subdir('SimpleShot')
+endif