arrayfire / arrayfire/arrayfire-python
timeit error in example convolve.py
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 422
- Forks
- 63
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When I run the convolve.py
I met a error with timeit function

I will get sample_time= 0 after sample_trials=3.So It will bring a ZeroDivisionError.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- developer-experience
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100