ATC Error Reported During Distance Operator Generation

Symptom

When a distance operator is generated, the following error is reported in ATC:

Call InferShapeAndType for nodeXXXX failed

Possible Cause

The new CANN version enhances verification, and the InferDataType implementation is indispensable.

Solution

You can set the following environment variable to avoid this problem:

1
export IGNORE_INFER_ERROR=1