Intel® FPGA AI Suite: Compiler Reference Manual

ID 768972
Date 9/06/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.1. Inputs (dla_compiler Command Options)

--network-file Option

Syntax
--network-file=<network_file> <network_file_2> ... <network_file_n>
Description
This option specifies the path to your OpenVINO™ network topology (.xml) file or files. You can specify multiple files with this option to allow for a multigraph flow.

The network weight file (.bin) associated with each network topology file must be in the same folder as the network topology file and must use the same graph name.

Example
--network-file_name=/user_path1/graph1.xml /user_path2/graph2.xml
Parsed As
(vector<string>)

--plugins-file Option

Syntax
--plugins-file=path_to_plugins.xml
Description

This option is intended for expert use only and is rarely needed. Incorrect use of this option can result in obscure error messages.

This option specifies the path to a custom plugins.xml file that initializes the InferenceEngine::Core with a custom plugins.xml file.

The plugins.xml file indicates the locations for your custom Intel FPGA AI Suite library .so files: libcoreDLAHeteroPlugin.so and libcoreDLAAotPlugin.so.

Example
--plugins-file=./bin/plugins.xml
Parsed As
(string)

--batch-size Option

Syntax
--batch-size="<batch_size> <batch_size_2> ... <batch_size_n>"
Description
This option overrides of the network specified batch size.

For multigraphs, you can specify a single batch size to use for all all graphs or you can specify a batch size for each graph.

When you specify multiple batch sizes, you must specify the batch sizes in the same order that you specified the network topology files in the --network-file option. If the number of batch sizes specified does not match the number of --network-file arguments, the default batch size from the --network-file option is used.

Example
--batch="size 16 32"
Parsed As
(vector<int>)

--bin-data Option

Syntax
--bin-data
Description
Forces graph to be compiled for binary data input, regardless of input tensor shape. Binary data is read as the input layer type.

Otherwise, graphs with 1- or 3-channel inputs are converted to U8 inputs and binary input files are discarded.

Parsed As
(bool)