Closed sexjun closed 11 months ago
Remove unnecessary code
{ utils::LayerTimeLogging layer_time_logging(op_name, op_type); status = layer->Forward(); }
这段代码是用raii来做计时的,计时器从layer_time_logging初始化时开始,到layer_time_logging对象销毁析构函数中记录销毁时间。从初始化到销毁刚好是layer.forward的执行时间。
Remove unnecessary code