Skip to content

Commit

Permalink
added name property to dtype class in numpy frontend (ivy-llc#10558)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnhirwa authored Feb 15, 2023
1 parent 2a66819 commit 0ea6d23
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ def subtype(self):
@property
def ivy_dtype(self):
return self._ivy_dtype

@property
def name(self):
return self._ivy_dtype.__repr__()

0 comments on commit 0ea6d23

Please sign in to comment.