feat(worker): onnx 階段自動移除尾端 Softmax + pre-check regex 收窄 #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/softmax-tail-removal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
問題
同一顆含 Softmax 的 tflite,正式站能編出 KL520 真 .nef,本專案 worker 在 nef 階段撞
UnimplementedFeature [Softmax]exit 6。根因
runtime ktc 的
eliminate_tail是 no-op(只印警告不做事),尾端 Softmax 未被移除。正式站產物實測為 logits 輸出(Softmax 已在模型階段移除)、compiler 版本相同。修法(staging 實測驗證)
remove_tail_softmax()— 所有 platform 移除 terminal Softmax(cut_nodes、多 output fail-loud 驗證、onnx.checker、metadata)行為變更
所有 platform NEF 輸出改 logits(與正式站一致)、需通知 visionA。
驗證