8 onnx_model = onnx.load(
'09_conv2d_a.onnx')
11 input_shape1 = (1,1,8,8)
12 shape_dict = {input_name1: input_shape1}
15 mod, params = relay.frontend.from_onnx(model=onnx_model, shape=shape_dict)
21 with relay.build_config(opt_level=opt_level):
22 graph, lib, params = relay.build_module.build(
23 mod, target, params=params)
27 out_file = open(
"prova.ll",
"w")
28 out_file.write(lib.get_source())