Conversion Failure Due to the Infershape Failure
Symptom
Model conversion fails, and the log message "Run ge_passes infershape for preprocess failed" is printed, as shown in Figure 3-8.
Possible Cause
The input of the operator is incorrect.
Solution
Perform the following steps to rectify the fault:
- Locate the cause of the infershape implementation failure of the operator that reports the error, and check whether the infershape implementation of the previous operator is correct.
- Continuously trace operators with infershape implementation exception.