leon

Results 11 comments of leon

并非指定时刻执行,是每隔N秒执行固定任务,比如固定间隔的心跳等等;实现并不复杂,一种方法是上面说的统计耗时,在实现中减去耗时,另外一种方法是记录timestamp,每次epoll_wait时用now - timestamp

可以参考实现:https://github.com/chenshuo/muduo/blob/master/muduo/net/TimerQueue.cc

以异步任务作为设计的前提是有道理的,但是作为基础类库来说行为跟预期并不一致,从定时器概念理解1秒执行一次就是1秒一次(当然可以有误差),否则就不是定时器;举例来说,利用这个定时器进行视频编码控制为60fps,如果忽略编码本身的耗时,实际编码帧率就会偏差很多 ;当然我说的这些都是从基础类库供别人使用为前提哈,不能揣测调用者的意图,概念需要清晰

另外可以参考下Linux系统timerfd的逻辑哈,它的行为跟我期望的是一致的~

After testing, if we output the result of the last BN layer of the model, the final result is normal。 ![image](https://github.com/openvinotoolkit/openvino/assets/7497886/74e4822b-154c-4c52-8188-81b4b9b62bd3)

Thank you for your reply. Unfortunately, the current model cannot be provided at the moment. This seems to be a bug in OpenVino. There was an error executing the BatchNorm2d...

@songbell Using CPU or AUTO:CPU results are both incorrect, and I have already tested them. The first thing I used was to directly use the CPU.If the execution results of...

[toy_model.zip](https://github.com/openvinotoolkit/openvino/files/15317057/toy_model.zip) @dmitry-gorokhov this is a simple onnx model with a similar structure for testing. `toy_model_multi_out.onnx` export the execution results of BatchNorm2d and ` toy_model.onnx` was not exported. The results obtained...

> @wanglxchina Hello, I keep debugging your issue, could you please tell me if you build OpenVINO or take a specific package? OpenVINO2024.0.0 build by myself and OpenVINO2024.1.0 download from...