I register an relay operation with tuple input.Meanwhile I also register a attribute “FTVMAlterOpLayout”. When I invoke AlterOpLayout pass,some errors was happened. I guess this pass cannot deal with tuple input.
for (auto expr : ref_call->args) {
auto ttype = expr->type_as<TensorTypeNode>();
tinfos.push_back(tvm::te::placeholder(ttype->shape, ttype->dtype));
}
I want to know if the input of an operation is tuple,how can I do for this situation.