Hello @LuisMedina-08,
I had a call with one of our engineers who provided me with some useful information about the older issue that seems similar to yours.
The most important thing is that GLOW is a static compiler and therefore doesn't work with dynamic shapes and values and requires constants everywhere.
In the case of the Reshape issue you linked, the reshape computation itself was dynamic but all of the inputs of the computation were static. The issue was solved by adding a constant folding mechanism, which allows GLOW to compute the dynamic value during compilation.
Now, your issue seems similar in nature, however, the constant folding fix is already present in the SDK GLOW (the engineer confirmed this by testing a model with the same reshape computation as mentioned in the Reshape issue). I am not familiar with the Where operator but if your problem were exactly the same, the model would compile successfully.
(Btw. We checked and the Where operator is supported by the GLOW included in our SDK.)
So, in order to move forward, I think we need to determine the following:
- Is your model static or dynamic? If it's dynamic, it won't work with GLOW.
- Are there any dynamically computed values in the model? (like the computations of shapes)
- If yes, do they have static inputs? If so, perhaps the issue could be solved the same way the Reshape issue was solved.
- If yes, but some of the inputs are not static, would it be possible to change the model architecture so that they are static instead?
I have no experience with ANFIS networks. Perhaps there is some kind of mechanism in their architecture, which makes them incompatible with GLOW.
Regards,
David