arrayfire / arrayfire/arrayfire-python

timeit error in example convolve.py

未關閉
#225 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
422
分支
63
PR 合併指標
30 天內沒有已合併 PR

描述

When I run the convolve.py

I met a error with timeit function
![image](https://user-images.githubusercontent.com/30900789/78571195-83170300-7858-11ea-8bcc-fea5b1d64c52.png)
I will get sample_time= 0 after sample_trials=3.So It will bring a ZeroDivisionError.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by running the convolve.py example and inspect its timeit usage around sample_time and sample_trials. Confirm the example no longer reaches a ZeroDivisionError when sample_time is 0 and that it reports a valid timing result.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
developer-experience
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。