prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Typehint of ignite._utils._to_hours_mins_secs  not satisfied with float
  ## 🐛 Bug description
  
  That is a so tiny bug. The `typehint` of the following function of `ignite._utils` is not satisfied with a `float` argument
  ``` python
  def _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:
      """Convert seconds to hours, mins, and seconds."""
      mins, secs = divmod(time_taken, 60)
      hours, mins = divmod(mins, 60)
      return hours, mins, secs
  ```
  We have
  ```python
  >>> divmod(10.0,2)
  (5.0, 0.0)
  ```
  
  ## Environment
  
   - PyTorch Version (e.g., 1.4): 1.4
   - Ignite Version (e.g., 0.3.0): 0.3.0
   - OS (e.g., Linux): Linux
   - How you installed Ignite (`conda`, `pip`, source): conda
   - Python version: 3.7
   - Any other relevant information:
  
  
  
  </issue>
  <code>
  [start of ignite/_utils.py]
  1 from typing import Union, Tuple
  2 
  3 # For compatibilty
  4 from ignite.utils import convert_tensor, apply_to_tensor, apply_to_type, to_onehot
  5 
  6 
  7 def _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:
  8     """Convert seconds to hours, mins, and seconds."""
  9     mins, secs = divmod(time_taken, 60)
  10     hours, mins = divmod(mins, 60)
  11     return hours, mins, secs
  12
  [end of ignite/_utils.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/ignite/_utils.py b/ignite/_utils.py
  --- a/ignite/_utils.py
  +++ b/ignite/_utils.py
  @@ -8,4 +8,4 @@
       """Convert seconds to hours, mins, and seconds."""
       mins, secs = divmod(time_taken, 60)
       hours, mins = divmod(mins, 60)
  -    return hours, mins, secs
  +    return round(hours), round(mins), round(secs)
  
verification_info: {"golden_diff": "diff --git a/ignite/_utils.py b/ignite/_utils.py\n--- a/ignite/_utils.py\n+++ b/ignite/_utils.py\n@@ -8,4 +8,4 @@\n     \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\n     mins, secs = divmod(time_taken, 60)\n     hours, mins = divmod(mins, 60)\n-    return hours, mins, secs\n+    return round(hours), round(mins), round(secs)\n", "issue": "Typehint of ignite._utils._to_hours_mins_secs  not satisfied with float\n## \ud83d\udc1b Bug description\r\n\r\nThat is a so tiny bug. The `typehint` of the following function of `ignite._utils` is not satisfied with a `float` argument\r\n``` python\r\ndef _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:\r\n    \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\r\n    mins, secs = divmod(time_taken, 60)\r\n    hours, mins = divmod(mins, 60)\r\n    return hours, mins, secs\r\n```\r\nWe have\r\n```python\r\n>>> divmod(10.0,2)\r\n(5.0, 0.0)\r\n```\r\n\r\n## Environment\r\n\r\n - PyTorch Version (e.g., 1.4): 1.4\r\n - Ignite Version (e.g., 0.3.0): 0.3.0\r\n - OS (e.g., Linux): Linux\r\n - How you installed Ignite (`conda`, `pip`, source): conda\r\n - Python version: 3.7\r\n - Any other relevant information:\r\n\r\n\n", "before_files": [{"content": "from typing import Union, Tuple\n\n# For compatibilty\nfrom ignite.utils import convert_tensor, apply_to_tensor, apply_to_type, to_onehot\n\n\ndef _to_hours_mins_secs(time_taken: Union[float, int]) -> Tuple[int, int, int]:\n    \"\"\"Convert seconds to hours, mins, and seconds.\"\"\"\n    mins, secs = divmod(time_taken, 60)\n    hours, mins = divmod(mins, 60)\n    return hours, mins, secs\n", "path": "ignite/_utils.py"}]}