diff options
author | Tim Hall <tim.hall@arm.com> | 2023-08-08 14:10:17 +0100 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2023-08-08 16:36:20 +0100 |
commit | cd03504cfc29767d33d37b5c587116ab90752d74 (patch) | |
tree | 187d75690e7316c2e430c8c81e9f526bd8dc20a1 /ethosu/vela/high_level_command_stream.py | |
parent | 4bd28aa1bc8d7dc952c3d4ff523d942540947280 (diff) | |
download | ethos-u-vela-cd03504cfc29767d33d37b5c587116ab90752d74.tar.gz |
MLBEDSW-7689: Document verbose command stream options
- Documented High-Level and register-Level command stream options
- Changed High-Level command stream display to show the name of the
command
- Fixed an issue with some operators not being displayed by the
CLI option --verbose-operators
- Changed an unneeded print in pass packing to a more useful assertion
Change-Id: I9d53f19f4e32d0478209bc964724c27c935f66d6
Signed-off-by: Tim Hall <tim.hall@arm.com>
Diffstat (limited to 'ethosu/vela/high_level_command_stream.py')
-rw-r--r-- | ethosu/vela/high_level_command_stream.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethosu/vela/high_level_command_stream.py b/ethosu/vela/high_level_command_stream.py index 09c1805d..8403b94f 100644 --- a/ethosu/vela/high_level_command_stream.py +++ b/ethosu/vela/high_level_command_stream.py @@ -236,7 +236,7 @@ class NpuStripe(Command): return True def __str__(self): - return "<NPUStripe: ps=%s, ifm_box=%s, ifm2_box=%s, ofm_box=%s, weight_box=%s, block_config=%s>" % ( + return "<NpuStripe: name=%s, ifm_box=%s, ifm2_box=%s, ofm_box=%s, weight_box=%s, block_config=%s>" % ( self.ps.name, self.ifm_box, self.ifm2_box, @@ -286,7 +286,7 @@ class DMA(Command): self.box = box def __str__(self): - return "<DMA: in=%s, out=%s, box=%s>" % (self.in_tensor.name, self.out_tensor.name, self.box) + return f"<DMA: name={self.ps.name}, in={self.in_tensor.name}, out={self.out_tensor.name} box={self.box}>" __repr__ = __str__ @@ -302,7 +302,7 @@ class NOP(Command): self.out_tensor = out_tensor def __str__(self): - return f"<NOP: in={self.in_tensor.name}, out={self.out_tensor.name}>" + return f"<NOP: name={self.ps.name}, in={self.in_tensor.name}, out={self.out_tensor.name}>" __repr__ = __str__ |