Skip to content

Commit

Permalink
Updated docstring (ivy-llc#10637)
Browse files Browse the repository at this point in the history
Co-authored-by: zaeemansari70 <[email protected]>
  • Loading branch information
satakshigarg and zaeemansari70 authored Feb 20, 2023
1 parent 9b4827a commit d040a35
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ivy/functional/ivy/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,9 @@
class DefaultDevice:
"""Ivy Device Class"""

def __init__(
self,
device: Union[ivy.Device, ivy.NativeDevice],
/,
) -> None:
"""Initialises the DefaultDevice class
def __init__(self, device: Union[ivy.Device, ivy.NativeDevice], /, ) -> None:
"""
Initialises the DefaultDevice class
Parameters
----------
Expand All @@ -53,6 +50,8 @@ def __init__(
Examples
--------
A "tpu" as device:
>>> x = ivy.DefaultDevice("tpu")
"""
self._dev = device
Expand Down

0 comments on commit d040a35

Please sign in to comment.