hi, i'm new here, i use the fllow code onnx_graph = onnx.load(open(onnx_path, "rb")) data_shape = (batch_size, 3, 224, 224) mod, params = relay.frontend.from_onnx(onnx_graph, {"data": data_shape}) with tvm.transform.PassContext(opt_level=3): qfunc = relay.quantize.prerequisite_optimize(mod, params=params) with tvm.target.cuda(): with tvm.autotvm.apply_history_best(logfile): qfunc = qtz.quantize(qfunc, params, dataset=dataset)
but the length of params returned by relay.frontend.from_onnx is zero. for weight quant, no params is ok? --- [Visit Topic](https://discuss.tvm.apache.org/t/relay-frontend-form-onnx-return-empty-params/15522/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/ff205a131a205b222dfb5ee79161aaf077c8ba35915cb504fda34cbb16393b5c).