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

Method metadata

runtime/__init__.py:150–159  ·  view source on GitHub ↗

Gets the metadata for the method. The metadata includes information about input and output specifications, such as tensor shapes, data types, and memory requirements. Returns: The MethodMeta object containing method specifications.

(self)

Source from the content-addressed store, hash-verified

148
149 @property
150 def metadata(self) -> MethodMeta:
151 """Gets the metadata for the method.
152
153 The metadata includes information about input and output specifications,
154 such as tensor shapes, data types, and memory requirements.
155
156 Returns:
157 The MethodMeta object containing method specifications.
158 """
159 return self._method.method_meta()
160
161
162class Program:

Calls

no outgoing calls