Hello!
In the “vta_conv2d.py”, the module “register_topi_schedule” call the the input parameter “cfg” as the following code.
@autotvm.register_topi_compute(topi.nn.conv2d, 'vta', 'direct')
def _declaration_conv2d(cfg,
data,
kernel,
strides,
padding,
dilation,
layout,
out_dtype):
But, the code which calling the function “topi.nn.conv2d” don’t pass the parameters “cfg” explicitly, so I want to know how the module “_declaration_conv2d” get the cfg? And how to define my own vta cfg? Is there some explanation of the “cfg” format or usage?