summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>2020-01-17 17:17:01 +0900
committer이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>2020-01-17 17:17:01 +0900
commitc7be1c4664f92f28c1802077d3c48938c3b006de (patch)
treefa20c5769aafd42dd40832c7c4a7d5f451e39579
parent3b5c9ff3a5eeb2479c562952332f8ad2760b3ebc (diff)
downloadnnfw-c7be1c4664f92f28c1802077d3c48938c3b006de.tar.gz
nnfw-c7be1c4664f92f28c1802077d3c48938c3b006de.tar.bz2
nnfw-c7be1c4664f92f28c1802077d3c48938c3b006de.zip
Compiler documents for release 1.1.0 (#9961)
These are documents of 1) visual studio Tizen extension and 2) Tizen Studio. Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
-rw-r--r--docs/nncc/v1.1.0/nncc_in_tizen_studio.md52
-rw-r--r--docs/nncc/v1.1.0/nncc_in_visual_studio.md61
2 files changed, 113 insertions, 0 deletions
diff --git a/docs/nncc/v1.1.0/nncc_in_tizen_studio.md b/docs/nncc/v1.1.0/nncc_in_tizen_studio.md
new file mode 100644
index 000000000..d0f89a49b
--- /dev/null
+++ b/docs/nncc/v1.1.0/nncc_in_tizen_studio.md
@@ -0,0 +1,52 @@
+# nncc for Tizen Studio Plugin
+
+## Environments
+
+- Windows 10
+
+## How to install nncc in Tizen Studio
+
+### Things to prepare
+
+- Tizen Studio with IDE
+- Tizen Studio Package Manager
+ - Will be automatically installed when Tizen Studio is installed
+- Firewall Registration
+ - To add a repository at Package Manager, firewall registration must be applied in advance.
+ - IP Address : 107.110.2.162
+ - Service Port : 80(TCP)
+
+### Installation of SDK
+
+1. Execute Package Manager of Tizen Studio.
+1. Click cogwheel at right-top side.
+1. Click `Extension SDK`.
+1. Click `+` button.
+1. Write `http://107.110.2.162/packages/ai_tool_ext/` at `Repository`, and anything at `Name`.
+1. Click `OK`. And then click `OK` again. Refresh progress will be run.
+1. At `Extension SDK` tab, click `install` of `nnas`
+
+## Tutorial
+Let's create nnpackage in Tizen Studio!
+
+1. Enter [File] - [New] - [Tizen Project].
+1. Select `Sample` and click `Next`.
+1. Select `Mobile` with any version and click `Next`.
+1. Select `Web Application` and click `Next`.
+1. Select `Application` - `App Callee` and click `Next`.
+1. Write `AppCallee` at `Project name` and click `Finish`.
+1. Click `Finish`. (Default project name is `AppCallee`)
+1. After project `AppCallee` was created, click `AppCallee` at Project Explorer.
+1. Click `AI extension` (AI chip icon) at the top.
+1. Give `.pb` file path to `Model File` and `.info` file path to `info file`.
+ - Information about `.pb` and `.info`, please refer to [Getting Started](../v1.0.0/getting_started.md#10)
+1. Click `OK`. Generating circle file progress will be done.
+1. Check whether nnpackage is created in `AppCallee\res\shared` folder.
+ - Suppose that `model.pb` and `model.info` were used
+ ```
+ AppCallee\res\shared
+ └ model
+ ├ model.circle
+ └ metadata
+ └ MANIFEST
+ ``` \ No newline at end of file
diff --git a/docs/nncc/v1.1.0/nncc_in_visual_studio.md b/docs/nncc/v1.1.0/nncc_in_visual_studio.md
new file mode 100644
index 000000000..bc9e59fa9
--- /dev/null
+++ b/docs/nncc/v1.1.0/nncc_in_visual_studio.md
@@ -0,0 +1,61 @@
+# nncc for Visual Studio Tizen Extension
+
+## Environments
+
+- Windows 10
+
+## How to install nncc in Visual Studio
+
+### Things to prepare
+
+- Visual Studio 2019 for Windows
+ - Version Status
+ - Community version : Not available yet
+ - Professional version : Available
+ - Enterprise version : Available
+ - Needed Workload
+ - .NET Desktop Development
+ - If above workload was not installed, please install it using Visual Studio Installer.
+ - Under 2019 version, some details can be different
+ - Express version : Not available
+ - Other versions : Not confirmed
+ - Refer to https://developer.tizen.org/development/visual-studio-tools-tizen/installing-visual-studio-tools-tizen
+- Tizen Baseline SDK
+ - Install `nnas` by using Package Manager. For details, [click here.](nncc_in_tizen_studio.md)
+
+### Installation
+
+1. Download `VisualStudioToolsForTizen_2019AI_3.1.0116.1.vsix` from the release page.
+1. Execute the `vsix` file.
+ - Do not execute Visual Studio during this step. If executed, the process will wait infinitely.
+1. Open Visual Studio and click `Continue without code`.
+1. Enter [Tools] - [NuGet Package Manager] - [Package Manager Settings] - [NuGet Package Manager - Package Sources]
+1. Click green `+` button to add new package source.
+1. Set like the following. Then, click `Update`.
+ - `Name` : write `Tizen.NET.SDK`
+ - `Source`: write `https://tizen.myget.org/F/dotnet/api/v3/index.json`
+1. <b>Only when</b> `nuget.org` is not found in `Available package sources`, follow below three steps.
+ - Click green `+` button
+ - Set `Name` as `nuget.org` and set `Source` as `https://api.nuget.org/v3/index.json`
+ - Click `Update`
+1. Click `OK`.
+
+## Tutorial
+Let's create nnpackage in Visual Studio!
+
+1. Open Visual Studio.
+1. Enter [File] - [New] - [Project].
+1. Select `AI App Project` and click `Next`.
+1. Click `Create`. (Default project name is `AIAppTemplate`)
+1. A dialog pops up. Enter the path of your `model.pb` and `model.info` into the dialog.
+ - In this version, names of model file and info file <b>must be</b> `model.pb` and `model.info`.
+ - Detailed information about `.pb` file and `.info` file is in [getting_started](../v1.0.0/getting_started.md#12)
+1. Open `AIAppTemplate_App.cs` in `AIAppTemplate` and build it.
+1. If build succeeded, nnpackage will be found at `AIAppTemplate\res\shared` folder.
+ ```
+ AIAppTemplate\res\shared
+ └ model
+ ├ model.circle
+ └ metadata
+ └ MANIFEST
+ ```