torch.utils.flop_counter.register_flop_formula torch.utils.flop_counter.register_flop_formula(targets, get_raw=False) Return type: Callable[[[[~_P], ]], [[~_P], ]]