Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 774 Bytes

MODEL_COMPATIBILITY.md

File metadata and controls

31 lines (24 loc) · 774 Bytes

Model Compatibility

ModelSpec change

not supported

Operator parameter change

for example:

if (version < 20220817) {
    if (operatorType == OT_Resize) {
        size = size - sizeof(float) - 2 * sizeof(int);
    }
}

for example:

if (version < 20220817) {
    if (p->type == OT_Resize) {
        p->ps.resize_spec.zoom_factor = 0;
        p->ps.resize_spec.pad_begin = 0;
        p->ps.resize_spec.pad_end = 0;
    }
}