arrayfire / arrayfire/arrayfire-python

timeit error in example convolve.py

オープン
#225 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。