# 5.6. Prepare input directory and data¶

Firstly We need to make the directory which includes input data and we assume that the name is <INPUT_DIR> for a explanation. Of cource you can choose a name as you like. It’s OK to put <INPUT_DIR> to anywhere you like. Next we need to prepare “*.pb” file into the <INPUT_DIR>. In this time, we named as “example.pb”. Of course other name is OK, but the extention needs to be “.pb”.

Now the structure of <INPUT_DIR> becomes as below.

<INPUT_DIR>
└── example.pb


<INPUT_DIR> needs to have only one “*.pb” file.

# 5.7. Prepare output directory¶

Making output directory is necessary. We assume that the name of output directory is <OUTPUT_DIR>. We just need to make <OUTPUT_DIR>, and it needs to be empty to save results. If the <OUPUT_DIR> directroy is not empty, a error message will be shown.

# 5.8. Get results¶

We can get results in the following directory.

\$ ls <OUTPUT_DIR>


You’ll see the following files.

• lm_x86.elf

• lm_arm.elf

• lm_fpga.elf

• libdlk_x86.so

• libdlk_arm.so

• libdlk_fpga.so