hi all ,
i have to write a custom logic of mem buffer creation in TVM where i need the names of the arguments of CallNode with op as nn.dense.
The function signature looks something like this:
vector<string> Dense(CallNode* call){
input_name = call->args[0]->name_hint();
weight_name = call->args[1]->name_hint();
// do something with names.
}
Though i want to achieve some thing like this, but unable to do so as i am not able to extract a VarNode from call->args[0]. Any help would be highly appreciated. thanks.