Why are nodes used?

I have a hard time understanding the base classes of the C++ codebase. Especially the object reference structure. I think I understood that classes that end on Node are the actual objects. If a class has the same name but does not end on Node, it is most often a reference of some form to the actual object. I don’t understand how this reference works. But more importantly why was this construct of references put in place?

Have you checked the documentation for TVM Runtime that has an initial explanation as to why this was done.

2 Likes

yes that helped, thanks