analogdevicesinc / ai8x-synthesis

Quantization and Synthesis (Device Specific Code Generation) for ADI's MAX78000 and MAX78002 Edge AI Devices
Apache License 2.0
55 stars 50 forks source link

A problem in izer.py #326

Closed liuyuxivapor closed 8 months ago

liuyuxivapor commented 8 months ago

at izer/izer.py, line 188

    # Work with 1D input data
    if data.ndim < 3:
        data = np.expand_dims(data, axis=2)

It seems that it would not work with 1D data but at least 2D. Some situations might be added to solve this.

liuyuxivapor commented 8 months ago

ops, sorry for misunderstanding this.