examples/research_projects/bert-loses-patience/pabee/modeling_pabee_bert.py/BertModelWithPabee/log_stats
class BertModelWithPabee:    def log_stats(self):
        avg_inf_layers = self.inference_layers_num / self.inference_instances_num
        message = (
            f"*** Patience = {self.patience} Avg. Inference Layers = {avg_inf_layers:.2f} Speed Up ="
            f" {1 - avg_inf_layers / self.config.num_hidden_layers:.2f} ***"
        )
        print(message)