Format a tensor buffer as a string for debugging.
Declared in <llvm/Analysis/TensorSpec.h>
std::string
tensorValueToString(
char const* Buffer,
TensorSpec const& Spec);
Human-readable string representation of the tensor contents.
| Name | Description |
|---|---|
| Buffer | Contiguous bytes holding the tensor values. |
| Spec | Specification describing the layout and element type of Buffer. |