The error you're encountering during the optimization step of generating an ONNX model suggests that the ScatterND layer is not supported in the version of ST Edge AI Core you're using. To address this issue, you can consider the following strategies:
1. Replace ScatterND with Supported Operations
One way to handle this issue is by rewriting the logic that uses ScatterNd with other ONNX operations that are supported by the target environment. This would involve manual refactoring of your model to eliminate ScatterND operations. Some potential alternatives include:
GatherND: If you are only selecting certain indices rather than scattering values, GatherND could replace ScatterND depending on your use case.
Slice and Concat: You can mimic the scattering behavior using combinations of Slice, Concat, and other tensor manipulation functions to implement the functionality of ScatterND.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
