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
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