MCPcopy Create free account
hub / github.com/pytorch/executorch / _SchemaInfo

Class _SchemaInfo

exir/_serialize/_flatbuffer.py:155–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154@dataclass
155class _SchemaInfo:
156 # Path to a file containing the root schema. Other included schema files may
157 # be present in the same directly.
158 root_path: str
159
160 # An alignment value that can satisfy all "force_align" entries found in the
161 # schema files.
162 max_alignment: int
163
164 # The file identifier declared in the root schema.
165 file_identifier: bytes
166
167 # The alignment for constant tensor data in the schema.
168 tensor_alignment: int
169
170 # The alignment for delegate data in the schema.
171 delegate_alignment: int
172
173
174def _prepare_schema(

Callers 1

_prepare_schemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected