The difficulty with the map is that you need to pass the map around or make it global state. My usecase is the PyTorch frontend (which could be made object-oriented instead of made purely functional to keep track of the map and prelude which is currently kept track of by indirection). Concretely tracking types: https://github.com/apache/incubator-tvm/pull/6900
The case is even more delicate as I'm close to (but not quite, probably) wanting checked_type as the attribute. --- [Visit Topic](https://discuss.tvm.apache.org/t/round-tripping-objects-through-the-ffi/8440/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/a567ead2137b2caf606293db4d61b28cd3f6c9dfe5ae8d18c576e601404a630f).