In python, we can set set_flush_denormal by calling torch.set_flush_denormal(True).
How to achieve this in C++?
Update:
I found it by calling torch::globalContext().setFlushDenormal(true); thanks.
In python, we can set set_flush_denormal by calling torch.set_flush_denormal(True).
How to achieve this in C++?
Update:
I found it by calling torch::globalContext().setFlushDenormal(true); thanks.