I was trying to define argmax using **comm_reducer**, and I couldn't find any
way to define a comm_reducer that **just computes the index of the maximum
value**, and does not compute the value as well.
For example, Taking the comm_reducer for argmax as defined in
[`tests/python/integration/t
Hi all,
Just a generic question about debugging in GDB. Is there a good way to find the
proper type of an `"object"` in GDB?
What I mean by that is, say there is an `AddNode` passed to a function as a
`PrimExpr` and while debugging this function, is there way to find that it
actually belongs
Thanks for the reply, atleast I'm not the only one who is using the deleter_
hack to find the types of nodes.
And thanks for the ideas with PrettyPrint, I haven't used it too much in gdb, I
normally use the `p tvm::Dump(xxx)` for printing Objects and ObjectRefs.
So, out of curiosity, is ther
Right, I think `tvm::Dump(xxx)` also supports printing entire PrimFunc. The
main question I had was, is there a clean way to find the underlying type of an
`Object`/`ObjectRef`. Basically, if I have a `PrimFunc` is there a way to find
that the underlying type is say an `AddNode`.
---
[Vis
This is pretty cool, thanks a lot for the detailed explanation.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/rpc-related-whats-the-difference-between-rpc-proxy-rpc-server-rpc-tracker/3054/4)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe fr
`RelayExprNode` represents the `ObjectPtr` in the AST. The same node might need
to be referenced at different places across code base, and so the `RelayExpr`
is a reference counted object that points to the `RelayExprNode`. You can think
of `RelayExpr` as a type of shared_ptr to the underlying