/*
 * Copyright 2021 Xilinx Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

1. compile

   execute the following command to compile in the development board:

       bash build.sh

2. run

   copy the compiled executable file and test image to the development board destination.

   run the executable file with parameters like below sample:
       app <model_file> <image_path>

   sample:
       for cpp:
           ./tf2_custom_op_graph_runner /usr/share/vitis_ai_library/models/tf2_custom_op/tf2_custom_op.xmodel ./images/
       for python:
           python3 tf2_custom_op_graph_runner.py /usr/share/vitis_ai_library/models/tf2_custom_op/tf2_custom_op.xmodel ./images/

   result:
           score[0]    =  0
           score[1]    =  0
           score[2]    =  0
           score[3]    =  0
           score[4]    =  0
           score[5]    =  0
           score[6]    =  0
           score[7]    =  0.992188
           score[8]    =  0
           score[9]    =  0
