Skip to main content

TextSpec Struct

UTF-8 text tensor metadata. More...

Declaration

struct simaai::neat::TextSpec { ... }

Included Headers

#include <TensorCore.h>

Public Member Attributes Index

std::stringencoding = "utf-8"

Text encoding. The only supported value is UTF-8. More...

Description

UTF-8 text tensor metadata.

Text is carried as a normal dense UInt8 1D tensor containing UTF-8 bytes. Prompt interpretation is intentionally not part of this semantic; graph nodes decide how text samples are interpreted.

Definition at line 171 of file TensorCore.h.

Public Member Attributes

encoding

std::string simaai::neat::TextSpec::encoding = "utf-8"

Text encoding. The only supported value is UTF-8.

Definition at line 172 of file TensorCore.h.

172 std::string encoding = "utf-8";

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.