wuzheng

Results 6 issues of wuzheng

``` Traceback (most recent call last): generate_model(model=loaded,x_test=representative_dataset_gen(),name="weights/nnom_weight.h") File "C:\Users\Fake Bug\Desktop\modeltransfer\nn_scripts\nnom.py", line 750, in generate_model quantize_weights(model, per_channel_quant=per_channel_quant, name=name, format=format, layer_q_list=layer_q_list) File "C:\Users\Fake Bug\Desktop\modeltransfer\nn_scripts\nnom.py", line 733, in quantize_weights f.write('#define ' + layer.name.upper()...

For some reasons, if the memory is not enough for `DoAllocMembers(count, allocator)`, it will got `nullptr` as return value. However, there seems to be no checks or assert for this...

Add assertions after memory alloc for `SetStringRaw`, `SetObjectRaw`, `SetArrayRaw` and `DoCopyMembers` in document.h.

In some cases, virtio is simply used as one possible kind of communication channels, such as with virtio-9p. For virtio-9p, it isn't really appropriate to place the core logic inside...

Here is a possible demonstration of the effect. The purpose of implementing this interface is to expose sufficient low-level space to developers, in order to avoid code duplication and waste....