You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the decision_function methods of HLS and C++ backends, the attribute self.bridge of the model is accessed to make the predictions. If compile hasn't already been called then this attribute won't exist and the method will fail in a hard-to-interpret way. Proposed fix: in the decision_function methods, check if self.bridge exists, and if not, then call compile.
The text was updated successfully, but these errors were encountered:
In the
decision_function
methods of HLS and C++ backends, the attributeself.bridge
of the model is accessed to make the predictions. Ifcompile
hasn't already been called then this attribute won't exist and the method will fail in a hard-to-interpret way. Proposed fix: in thedecision_function
methods, check ifself.bridge
exists, and if not, then callcompile
.The text was updated successfully, but these errors were encountered: