diff options
author | Rickard Bolin <rickard.bolin@arm.com> | 2022-12-19 12:56:17 +0000 |
---|---|---|
committer | Rickard Bolin <rickard.bolin@arm.com> | 2022-12-22 10:24:40 +0000 |
commit | 5fdcf1753fc803a6baeb8eb1fc97c7df5a6e95ac (patch) | |
tree | 77aed7342fdb198b480b16fbd6355cd2d4ba8df3 /ethosu/vela/architecture_features.py | |
parent | af1d443159ce12cc03a5721a5db0150ec39d8489 (diff) | |
download | ethos-u-vela-5fdcf1753fc803a6baeb8eb1fc97c7df5a6e95ac.tar.gz |
MLBEDSW-7203: Data type alias deprecations
Deprecation of some data type aliases in NumPy version 1.24.0 caused Vela
to crash when using Python version 3.8 or above. Replaced the deprecated
aliases.
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Change-Id: Ide167ee864a340194ec5e69537c8718192c78ace
Diffstat (limited to 'ethosu/vela/architecture_features.py')
-rw-r--r-- | ethosu/vela/architecture_features.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index 73dea981..7c0d3117 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -593,8 +593,8 @@ class ArchitectureFeatures: self.axi0_port = MemArea(1) self.axi1_port = MemArea(1) self.memory_clock_scales = np.ones(MemArea.Size) - self.memory_burst_length = np.ones(MemArea.Size, np.int) - self.memory_latency = np.zeros((MemArea.Size, BandwidthDirection.Size), np.int) + self.memory_burst_length = np.ones(MemArea.Size, int) + self.memory_latency = np.zeros((MemArea.Size, BandwidthDirection.Size), int) self.const_mem_area = MemPort(1) self.arena_mem_area = MemPort(1) self.cache_mem_area = MemPort(1) |