hotg-ai / rune

Rune provides containers to encapsulate and deploy edgeML pipelines and applications
Apache License 2.0
133 stars 15 forks source link

Removed the unnecessary HasOutputs trait #337

Closed Michael-F-Bryan closed 2 years ago

Michael-F-Bryan commented 2 years ago

We originally used this as a way to check that a particular node was being given an appropriate input tensor and so capabilities know what dimensions to use.

However, we now accept multiple inputs, which the HasOutputs method signature doesn't allow. We've also updated the generated code so capabilities are given their output dimensions as part of the construction process.

This is part of the overall process of simplifying proc blocks (see #328).