TapeDecoder class

The TapeDecoder class offers a quality of life tool to allow decoding and visual printing of the contents of a CommandBuffer. To decode a CommandBuffer the following command can be used:

TapeDecoder(commandBuffer.bytes()).decode();

This class uses the Logger class for advanced logging.

Constructors

TapeDecoder(Uint8List tape)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tape ↔ Uint8List
getter/setter pair

Methods

decode() → void
Decodes the Tape assigned to the TapeDecoder. It translates the operations into its corresponding parts and uses the Logger class to print out a visual representation of the commands in order of execution. The following computational tree obtained by calling printGraphon a GPUTensor:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited