ConversionTrace Struct
Single audit-log entry for a conversion that occurred. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | stage |
|
Which stage/Node performed the conversion. More... | |
| ConversionKind | kind = ConversionKind::Reinterpret |
|
What kind of conversion occurred. More... | |
| std::string | src_desc |
|
Human description of the source tensor (e.g., "FP32 HWC 1×640×640×3 CPU"). More... | |
| std::string | dst_desc |
|
Human description of the destination tensor. More... | |
| std::uint64_t | bytes_copied = 0 |
|
Bytes actually moved. More... | |
| std::uint64_t | elapsed_us = 0 |
|
Wall-clock time spent on the conversion. More... | |
| ConversionPolicy | policy = ConversionPolicy::Strict |
|
Policy that authorized the conversion. More... | |
Description
Single audit-log entry for a conversion that occurred.
Collected into a ConversionTraceCollector when policy is AllowWithTrace. Useful for tools that want to verify a pipeline doesn't introduce hidden expensive conversions.
Definition at line 66 of file TensorConversion.h.
Public Member Attributes
bytes_copied
|
Bytes actually moved.
Definition at line 72 of file TensorConversion.h.
dst_desc
|
Human description of the destination tensor.
Definition at line 71 of file TensorConversion.h.
elapsed_us
|
Wall-clock time spent on the conversion.
Definition at line 73 of file TensorConversion.h.
kind
|
What kind of conversion occurred.
Definition at line 68 of file TensorConversion.h.
policy
|
Policy that authorized the conversion.
Definition at line 74 of file TensorConversion.h.
src_desc
|
Human description of the source tensor (e.g., "FP32 HWC 1×640×640×3 CPU").
Definition at line 70 of file TensorConversion.h.
stage
|
Which stage/Node performed the conversion.
Definition at line 67 of file TensorConversion.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.