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

Class TensorMeta

exir/serde/schema.py:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97@dataclass
98class TensorMeta:
99 dtype: ScalarType
100 sizes: List[SymInt]
101 requires_grad: bool
102 device: Device
103 strides: List[SymInt]
104 storage_offset: SymInt
105 layout: Layout
106
107
108# In most cases we will use the "as_name" field to store arguments which are

Callers 2

serialize_tensor_metaFunction · 0.85
to_tensor_metaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected