How to measure FLOPs of an optimized model?

After compiling and optimizing a model with TVM, how to measure its FLOPs? Thanks!