build

Description

Builds a DSL operator targeting CPU using LLVM.

Prototype

def build(inputs, args, name="default_function"):

Parameters

Parameter

Type

Description

inputs

Schedule object of TVM

TVM schedule instance object to be built.

args

Tensor list

A tensor list for the input and output parameters of the operator.

name

String

Name of the operator binary file generated after building.

The default value is default_function.

Returns

None

Restrictions

None

Example

For details, see Debugging Example.