aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/api.py')
-rw-r--r--ethosu/vela/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/api.py b/ethosu/vela/api.py
index f49df259..3382ea99 100644
--- a/ethosu/vela/api.py
+++ b/ethosu/vela/api.py
@@ -139,11 +139,11 @@ class NpuDataType(Enum):
return self.value[1]
def size_in_bits(self) -> int:
- """ Size of the data type in bits"""
+ """Size of the data type in bits"""
return self.value[0]
def size_in_bytes(self) -> int:
- """ Size of the data type in bytes"""
+ """Size of the data type in bytes"""
return self.value[0] // 8
def min_value(self) -> int: